joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x2d8]
call fcn.00416ac0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41c7cb
nop
push esi
lea ecx, [ebx + 0x2d8]
mov byte [ebp + 0xb], 0
call fcn.004161c0
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x41c91c
lea ecx, [ebx + 0x2d8]
inc esi
call fcn.00416ac0
cmp esi, eax
jl 0x41c790
sub edi, 0x100
je 0x41c8a5
sub edi, 4
je 0x41c841
sub edi, 2
jne 0x41c89a
cmp dword [ebx + 0xe4], edi
je 0x41c89a
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.005215e6
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x41f7f0
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x41c89a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x41c89a
mov ecx, dword [ebx + 0x100]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xfc]
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.0041a100
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41c89a
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x41c903
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x41c903
mov ecx, dword [ebx + 0xe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x41c903
mov ecx, dword [ebx + 0xe8]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004f3372
add esp, 8
test eax, eax
je 0x41c903
mov ecx, dword [ebx + 0xe8]
call fcn.00429ca0
test al, al
jne 0x41c89a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
mov ecx, ebx
xor al, 1
movzx eax, al
push eax
call fcn.0041e7c0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e250
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x41e28b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x41e28b
cmp esi, dword [edi + 0xe8]
je 0x41e28b
cmp byte [edi + 0xe0], 0
jne 0x41e28b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x41e386
test eax, eax
je 0x41e2fa
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe8]
mov ecx, edi
call fcn.0041de50
mov dword [edi + 0xe8], 0
test esi, esi
je 0x41e386
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x41e386
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x41e386
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x41e386
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe8]
mov ecx, edi
call fcn.0041de50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4206b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4206f5
cmp byte [ebp + 8], 0
je 0x4206e9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x42c570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x42c5df
cmp dword [ebp + 8], 0x100
jne 0x42c5cf
cmp word [ebp + 0xc], 0xd
jne 0x42c5cf
cmp byte [esi + 0x69a], 0
je 0x42c5ae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42c5cf
cmp byte [esi + 0x69b], 0
jne 0x42c5cf
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x42c5c8
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.0041de50
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4336c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4337ba
movzx eax, word [ebx]
test ax, ax
je 0x4337ba
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x433702
cmp word [ecx], 0x5c
jne 0x433704
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4336f6
cmp edi, ebx
je 0x433753
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.0051f5d9
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4337ca
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004336c0
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x433760
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x433772
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x433790
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ef253
mov esp, ebp
pop ebp
ret
call fcn.004f0383
int3

Function at 0x434250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4342e9
cmp dword [esi + 4], 0xffffffff
jne 0x4342e9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x434280
cmp dword [ebp + 0x10], 1
mov eax, dword [0x565b28]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x4342b3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4342b3
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00436cc0
add esp, 0x10
test eax, eax
jne 0x4342d3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.004376c0
add esp, 4
mov dword [esi], eax
mov eax, dword [0x5acaf8]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x436e00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x436e3e
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436e32
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp + 8]
call fcn.004f1be0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x437050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43705e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x43711d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
sub edi, 1
jne 0x437076
pop edi
test esi, esi
je 0x43713b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x569688]
sub esi, 1
jne 0x437121
not eax
pop esi
pop ebp
ret
Function at 0x44a3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x44a3cf
cmp eax, edi
jge 0x44a3bf
push esi
call fcn.00445e40
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x44a3fd
mov eax, dword [esi + 0xc]
push ebx
mov bl, al
nop dword [eax]
mov byte [ebp + ecx + 8], bl
sub edx, 8
shr eax, 8
inc ecx
mov dword [esi + 0xc], eax
mov bl, al
test edx, edx
jg 0x44a3e0
mov dword [esi + 8], edx
pop ebx
cmp ecx, 4
jge 0x44a419
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x44a40a
xor dl, dl
jmp 0x44a40f
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x44a400
movzx edi, byte [ebp + 9]
movzx eax, byte [ebp + 8]
movzx ecx, byte [ebp + 0xb]
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x44a44d
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.00445d60
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x44a465
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.00445d60
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x44a483
push edi
push ecx
push esi
call fcn.0044dd00
add esp, 0xc
test eax, eax
jne 0x44a483
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004f1be0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x4606d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x46075b
cmp dword [esi + 0x10], 0
je 0x46075b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004efc70
mov ebx, esp
test ebx, ebx
je 0x46075b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00416130
mov ecx, dword [esi + 0x10]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.0041de50
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00419f30
test al, al
je 0x46075b
mov ecx, dword [esi + 0x10]
call fcn.00421740
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x10

Function at 0x461140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00423a00
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4611d5
lea eax, [ebp - 0x14]
push eax
call fcn.0045f980
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6d8]
test eax, eax
je 0x4611af
push 0
mov ecx, esi
call fcn.004200c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.004200c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x14
Function at 0x462700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d720
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], 0
cmp dword [edi + 4], 0
jne 0x4627b6
lea eax, [ebp - 0xa8]
push eax
call fcn.00462230
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.00419990
push eax
mov ecx, edi
call fcn.0041fc60
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004257b0
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.004192e0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00416cc0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x95], al
call fcn.00415fe0
cmp byte [ebp - 0x95], 0
je 0x4627fe
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret 4

Function at 0x4629f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00423a00
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x462a85
lea eax, [ebp - 0x14]
push eax
call fcn.00462230
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6f0]
test eax, eax
je 0x462a5f
push 0
mov ecx, esi
call fcn.004200c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.004200c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4743fe
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x10], 0
jne 0x47440b
xor al, al
ret
cmp dword [eax + 0x14], 7
jbe 0x474413
mov eax, dword [eax]
push dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x481eb0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x481ee6
mov al, byte [esi]
push eax
call fcn.00491080
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x481ec8
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x48f390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x48f3b0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x575c00
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x575c10
push esi
mov dword [ebp - 8], ebx
call fcn.0052ca6e
add esp, 8
test eax, eax
je 0x48f3fc
test ebx, ebx
je 0x48f3ec
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x48f425
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48f425
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x48f4e8
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f441
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x5a934c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48f4de
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x48f4de
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f480
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f4a0
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x48f4b5
mov eax, dword [ebp - 8]
test eax, eax
je 0x48f4d5
push 8
push 0
push ebx
call eax
jmp 0x48f4dc
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x5a9350]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48f560
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x48f5b9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48f5a6
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x48f5a0
shr eax, 8
cmp al, 2
je 0x48f5b9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret
push esi
push edi
push str.iphlpapi.dll
call fcn.0048f390
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x5accf0], eax
test eax, eax
je 0x48f5e8
push str.if_nametoindex
push eax
call edi
test eax, eax
je 0x48f5e8
mov dword [0x5acce0], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x48f620
push str.FreeAddrInfoExW
push esi
call edi
push str.GetAddrInfoExCancel
push esi
mov dword [0x5acce4], eax
call edi
push str.GetAddrInfoExW
push esi
mov dword [0x5acce8], eax
call edi
mov dword [0x5accec], eax
push 3
push 2
push 0
push 0
push 6
call fcn.004bc120
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x5ae501]
call fcn.004bc120
add esp, 0x28
test al, al
setne byte [0x5ae500]
push 0x5ae508
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004ef253
mov esp, ebp
pop ebp
ret

Function at 0x492250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x49227b
cmp dword [esi + 0x84], 0
je 0x49227b
push 2
push 3
push esi
call fcn.00491700
push dword [ebp + 0xc]
call fcn.00491c80
add esp, 0x10
jmp 0x49228a
push dword [ebp + 0xc]
call fcn.00491c80
add esp, 4
test esi, esi
je 0x49229e
cmp dword [esi + 0x84], 0
je 0x49229e
push 3
push esi
call fcn.00491740
add esp, 8
pop esi
pop ebp
ret

Function at 0x492380
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4923c1
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0xfc], 0
jne 0x4923b1
push 0
call fcn.00492380
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0xfc], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0xfc], 2
sete al
pop ebp
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x4923d7
xor al, al
pop esi
pop ebp
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
pop ebp
ret