joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4625ac
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x462662
movzx eax, word [esi]
test ax, ax
je 0x462662
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x4625ec
cmp ax, 0x5c
jne 0x4625ee
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4625e0
cmp edi, esi
je 0x462635
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00593568
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x462672
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004625ac
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0059352b
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005934ba
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
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.0057277e
mov esp, ebp
pop ebp
ret
call fcn.00572de1
int3

Function at 0x462c37
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x462cb3
cmp dword [edi + 4], 0xffffffff
jne 0x462cb3
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x61c780
push esi
call fcn.005934ba
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x462c85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x462c85
mov eax, 0x2000000
jmp 0x462cb8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00465152
add esp, 0x10
test eax, eax
jne 0x462ca3
mov eax, dword [ebp - 4]
jmp 0x462cb8
push eax
call fcn.0046585a
mov dword [edi], eax
mov eax, dword [0x63d514]
pop ecx
jmp 0x462cb8
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46525f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x465293
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46528e
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4652ba
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x4652a3
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0058bc30
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x46543b
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x4654fa
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
sub edi, 1
jne 0x465453
pop edi
test esi, esi
je 0x465516
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1bb8]
inc edx
sub esi, 1
jne 0x4654fe
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4664d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x5ba1b7
call fcn.00573242
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0046685f
call fcn.00442fa1
push eax
lea ecx, [ebp - 0x94]
call fcn.004408be
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00442fa7
mov ecx, eax
call fcn.004410c2
test al, al
je 0x4665e6
push ebx
lea ecx, [ebp - 0x94]
call fcn.00440b32
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0056c9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x466557
push str.Error_opening_file
jmp 0x4666c7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x466660
cmp edi, 0x400000
ja 0x466671
and dword [ebp - 0x2c8], 0
push edi
call fcn.0057278f
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x4665cf
push ebx
call fcn.00572798
pop ecx
mov ecx, esi
call fcn.0046685f
push 0
push str.Could_not_read_file
jmp 0x4666c7
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00466712
push dword [ebp - 0x2cc]
jmp 0x4666f5
call fcn.00442fa7
push eax
lea ecx, [ebp - 0x94]
call fcn.00440b15
call fcn.004432ad
test al, al
je 0x466607
call fcn.00442fad
jmp 0x46661e
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0056c9b0
push eax
call fcn.00462cbf
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x46662f
push eax
push str.Error_opening_zip_file
jmp 0x4666c7
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00462700
add esp, 0x14
test eax, eax
je 0x466656
push 0
push str.Could_not_find_ziped_file
jmp 0x4666c7
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x466669
push 0
push str.File_is_empty
jmp 0x4666c7
cmp ebx, 0x400000
jbe 0x46667a
push 0
push 0x5c31c8
jmp 0x4666c7
push ebx
call fcn.0057278f
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0046307f
add esp, 0x18
test eax, eax
je 0x4666d2
cmp eax, 0x600
je 0x4666d2
push dword [ebp - 0x2c8]
call fcn.00572798
pop ecx
call fcn.004432ad
test al, al
jne 0x4666c0
push edi
call fcn.0046255a
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00466887
mov bl, al
jmp 0x4666fd
call fcn.004432ad
test al, al
jne 0x4666e2
push edi
call fcn.0046255a
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00466712
push edi
mov bl, al
call fcn.00572798
pop ecx
lea ecx, [ebp - 0x94]
call fcn.004409ca
mov al, bl
call fcn.005731fd
ret 8

Function at 0x46f3b2
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x638
jmp fcn.00473dd1
Function at 0x47b8e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x47b968
cmp dword [esi + 0x10], 0
je 0x47b968
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00573350
mov ebx, esp
test ebx, ebx
je 0x47b968
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.00440a68
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
push str.textchanged
push ecx
mov ecx, dword [ecx + 0x44]
call fcn.004469cd
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.004432ba
test al, al
je 0x47b968
mov ecx, dword [esi + 0x10]
call fcn.0044da31
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47c788
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x5baf69
call fcn.00573242
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.00442fa1
push eax
lea ecx, [ebp - 0x94]
call fcn.004408be
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00442fa7
mov ecx, eax
call fcn.004410c2
test al, al
je 0x47c876
push ebx
lea ecx, [ebp - 0x94]
call fcn.00440b32
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0056c9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47c819
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004409ca
jmp 0x47c957
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x47c805
push esi
mov dword [ebp - 0x2c8], edi
call fcn.0057278f
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x47c942
push edi
call fcn.00572798
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004409ca
jmp 0x47c955
call fcn.00442fa7
push eax
lea ecx, [ebp - 0x94]
call fcn.00440b15
call fcn.004432ad
test al, al
je 0x47c897
call fcn.00442fad
jmp 0x47c8ae
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0056c9b0
push eax
call fcn.00462cbf
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x47c805
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.00462700
add esp, 0x14
test eax, eax
jne 0x47c805
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x47c805
push esi
call fcn.0057278f
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.0046307f
add esp, 0x18
test eax, eax
je 0x47c932
cmp eax, 0x600
je 0x47c932
push edi
call fcn.00572798
pop ecx
call fcn.004432ad
test al, al
jne 0x47c862
push ebx
call fcn.0046255a
jmp 0x47c861
call fcn.004432ad
test al, al
jne 0x47c942
push ebx
call fcn.0046255a
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004409ca
test edi, edi
jne 0x47c9c9
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push accept
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47c9c5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x47c9c5
push esi
mov dword [ebp - 0x2d0], edi
call fcn.0057278f
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2d0]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], esi
je 0x47c9c1
push edi
call fcn.00572798
pop ecx
xor edi, edi
test edi, edi
jne 0x47c9c9
xor eax, eax
jmp 0x47c9e1
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.0047c9e9
push edi
mov esi, eax
call fcn.00572798
pop ecx
mov eax, esi
call fcn.005731fd
ret 4
Function at 0x47e465
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x5bb159
call fcn.00573242
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x500], ebx
cmp dword [esi + 4], ebx
jne 0x47e4ee
lea eax, [ebp - 0xa8]
push eax
call fcn.0047e02e
push ebx
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.00442f85
push eax
mov ecx, esi
call fcn.00448a7a
mov ecx, dword [esi + 0x10]
call fcn.004687df
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.00442c86
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004410c2
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004409ca
mov edi, 0x4f0
test bl, bl
je 0x47e529
mov eax, dword [esi + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [esi + 0x1a]
push eax
call fcn.0058bc30
mov eax, dword [esi + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
call fcn.005731fd
ret 4

Function at 0x47e964
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x47e990
xor eax, eax
jmp 0x47ea05
push esi
mov esi, 0xff
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.0058b610
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x47e98c
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.0058bc30
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret
Function at 0x47eb02
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x5bb1ec
call fcn.00573242
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x4f8], ebx
cmp dword [esi + 4], ebx
jne 0x47ebb6
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x47eb93
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.0047e6f3
push ebx
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.00442f85
push eax
mov ecx, esi
call fcn.00448a7a
mov ecx, dword [esi + 0x10]
call fcn.004687df
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.00442c86
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004410c2
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004409ca
test bl, bl
je 0x47ebee
call fcn.0047e964
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x4f0], eax
mov eax, dword [esi + 0x10]
push dword [eax + 0x4f0]
push 0
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
call fcn.005731fd
ret 4

Function at 0x482adc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00473dd1

Function at 0x482ae5
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x638
jmp method.DuiLib::CMenuUI.virtual_312
Function at 0x48389c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
and dword [ebx + 0x468], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x464], ecx
mov dword [ebx + 0x46c], eax
test ecx, ecx
jne 0x483907
call fcn.0048365f
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x483907
call fcn.0048365f
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0048365f
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x464]
test ecx, ecx
jne 0x48392d
mov ecx, dword [ebp - 0x18]
jmp 0x483934
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00442f85
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0044089a
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push accept
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00448a7a
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x483977
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x483972
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057277e
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4894a4
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x4894f2
cmp esi, 0x28
jbe 0x4894ec
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x4894f2
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0058b610
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004408e3
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057277e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4897e5
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x5bbd74
call fcn.00573242
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4898ec
lea eax, [ebp - 0xa4]
push eax
call fcn.00488fe4
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov ecx, dword [ecx + 0x44]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00442f85
push eax
mov ecx, ebx
call fcn.00448a7a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4898ec
mov ecx, dword [ebx + 0x10]
call fcn.004687df
mov ecx, dword [ebx + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.00442c86
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x70e]
push eax
movzx eax, word [ecx + 0x70c]
mov ecx, ebx
push eax
call fcn.00489d1d
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.004892f6
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1c8
push eax
call fcn.00440a49
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004409ca
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.005731fd
ret 4

Function at 0x48aad0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48ab20
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x48ab1a
shr eax, 8
cmp al, 2
jne 0x48ab1a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret
Function at 0x492740
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x492789
mov al, byte [esi]
push eax
call fcn.004a14f0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x492767
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x4939d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4939ee
cmp dword [esi + 0x6c], 0
je 0x4939ee
push 2
push 3
push esi
call fcn.004a1ab0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.004a1f10
add esp, 4
test esi, esi
je 0x493a0e
cmp dword [esi + 0x6c], 0
je 0x493a0e
push 3
push esi
call fcn.004a1af0
add esp, 8
pop esi
pop ebp
ret