joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405530
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x4770c4]
xor eax, esp
mov dword [esp + 0x29c], eax
push 0x103
lea eax, [esp + 0x195]
push 0
push eax
mov byte [esp + 0x19c], 0
call fcn.00447cc0
add esp, 0xc
lea ecx, [esp]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40558a
xor al, al
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00445f20
add esp, 0x2a4
ret
push 0x104
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x405573
lea eax, [esp + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x405573
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x405573
push eax
mov ecx, esi
call fcn.00402e40
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x29c]
xor ecx, esp
mov al, 1
call fcn.00445f20
add esp, 0x2a4
ret

Function at 0x4068b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45e078
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4770c4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00401ac0
mov eax, 0x46c48c
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406910
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46c48c
lea ecx, [esp + 0x10]
call fcn.00401530
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00401ac0
cmp dword [esp + 0x24], 8
jb 0x40695c
mov edx, dword [esp + 0x10]
push edx
call fcn.00445f80
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x406c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45dc7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4770c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 0
call fcn.0040fa83
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00412698
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x406d20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45dcdb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4770c4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004128ef
push 0x53
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], vtable.DuiLib::CNotifyPump.0
call fcn.00411fc2
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], vtable.DuiLib::INotifyUI.0
mov dword [esi + 0x34], vtable.DuiLib::IMessageFilterUI.0
mov dword [esi + 0x38], vtable.DuiLib::IDialogBuilderCallback.0
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
call fcn.0040f13e
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x3dc], edi
mov dword [esi + 0x3e0], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40d220
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e6e6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4770c4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4770c4]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x26c]
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x56]
mov edi, edx
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.00447cc0
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d2ec
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46d148
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.004016d0
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401ac0
cmp dword [esp + 0x2c], 8
jb 0x40d2e5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00445f80
add esp, 4
xor al, al
jmp 0x40d41d
cmp esi, 0x1a
jne 0x40d318
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
jmp 0x40d300
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d300
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d320
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46c48c]
mov dword [edi], edx
jb 0x40d33f
mov eax, dword [ebx + 4]
jmp 0x40d342
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d344
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40d360
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40d360
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40d383
mov ecx, dword [0x46caf8]
mov edx, dword [0x46cafc]
mov dword [eax], ecx
mov cx, word [0x46cb00]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d3d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.004016d0
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
push ecx
mov dword [esp + 0x26c], 1
call fcn.0040cfa0
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40d41b
mov edx, dword [esp + 0x34]
push edx
call fcn.00445f80
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00445f20
add esp, 0x258
ret 4
Function at 0x40d5b0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40d5cd
push eax
call edi
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x40d5da
push eax
call edi
mov dword [esi + 0x18], ebx
mov eax, dword [esp + 0x2c]
mov ecx, 0x404660
lea edi, [esi + 0x1c]
mov dword [esi + 0x20], ebx
mov dword [edi], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], ebx
test ecx, ecx
jne 0x40d637
xor edx, edx
push 0xb
mov eax, 0x46d1dc
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
call fcn.004016d0
cmp dword [esp + 0x24], 8
jb 0x40d62c
mov eax, dword [esp + 0x10]
push eax
call fcn.00445f80
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
cmp dword [esi], 1
mov dword [esi + 0x38], 0x404660
jne 0x40d66b
lea ecx, [esp + 0xc]
cmp dword [esi + 8], ebx
je 0x40d653
mov eax, 0x46d1f4
jmp 0x40d6a7
mov eax, 0x46d210
call fcn.004014c0
cmp dword [esp + 0x24], 8
jb 0x40d6c0
mov edx, dword [esp + 0x10]
push edx
jmp 0x40d6b8
push edi
push 4
push esi
push 0x40d6d0
push ebx
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [edi], ebx
je 0x40d6c0
mov dword [esi], 1
mov eax, 0x46d228
lea ecx, [esp + 0xc]
call fcn.004014c0
cmp dword [esp + 0x24], 8
jb 0x40d6c0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00445f80
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret 4

Function at 0x40d73d
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x40d753
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x40d75f
or edi, 1
push 1
call esi
test ax, ax
jge 0x40d76b
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40d777
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x40d783
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x40fcfd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x40fd22
cmp ebx, dword [esi + 0x58]
je 0x40fd22
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x40fde4
push edi
test eax, eax
je 0x40fd75
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0040f6b9
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x40fde3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x40fde3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x40fde3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x40fde3
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x58], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0040f6b9
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x416d05
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x416d10
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x416dcb
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x462730]
inc edx
sub edi, 8
dec esi
jne 0x416d30
pop ebx
test edi, edi
je 0x416de4
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x462730]
inc edx
dec edi
jne 0x416dcf
pop edi
not eax
pop esi
ret

Function at 0x41727b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4172af
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4172aa
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4172d7
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4172c0
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004482b0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x418074
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4770c4]
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 0x41811e
movzx ecx, word [esi]
test cx, cx
je 0x41811e
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x4180b2
cmp cx, 0x5c
jne 0x4180b4
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x4180a6
cmp eax, esi
je 0x4180f2
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00448c1f
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00418074
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00447d68
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00447d3a
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00445f20
leave
ret
Function at 0x41964f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4196ca
cmp dword [esi + 4], 0xffffffff
jne 0x4196ca
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x46c48c
push edi
call fcn.00447d3a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x41969c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41969c
mov eax, 0x2000000
jmp 0x4196cf
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417091
add esp, 0x10
test eax, eax
jne 0x4196ba
mov eax, dword [ebp + 0x10]
jmp 0x4196cf
push eax
call fcn.0041924b
mov dword [esi], eax
mov eax, dword [0x478ab0]
pop ecx
jmp 0x4196cf
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41a62c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x4770c4]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x45bf48
call fcn.00447bfc
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.00419bef
call fcn.0040d905
push eax
lea ecx, [ebp + 0x230]
call fcn.004120b5
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040d90b
mov ecx, eax
call fcn.00411e18
test al, al
je 0x41a78e
push edi
lea ecx, [ebp + 0x230]
call fcn.00411ea8
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.00411ca6
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x41a702
push str.Error_opening_file
mov ecx, ebx
call fcn.00419deb
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.00411cf3
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00445f20
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x41a717
push esi
push str.File_is_empty
jmp 0x41a6c3
cmp edi, 0x400000
jbe 0x41a727
push esi
push 0x462fac
jmp 0x41a6c3
push edi
mov dword [ebp - 0x14], esi
call fcn.00445c06
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x41a76d
push dword [ebp - 0x10]
call fcn.004463bc
pop ecx
mov ecx, ebx
call fcn.00419bef
push esi
push str.Could_not_read_file
jmp 0x41a6c3
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041a4db
push dword [ebp - 0x10]
mov bl, al
call fcn.004463bc
pop ecx
jmp 0x41a6cc
call fcn.0040d90b
push eax
lea ecx, [ebp + 0x230]
call fcn.00411e8e
call fcn.0040d911
test al, al
je 0x41a7af
call fcn.0040d917
jmp 0x41a7c6
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.00411ca6
push eax
call fcn.00419a2e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41a7d8
push esi
push str.Error_opening_zip_file
jmp 0x41a6c3
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.0041812c
add esp, 0x14
test eax, eax
je 0x41a7fd
push esi
push str.Could_not_find_ziped_file
jmp 0x41a6c3
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41a70f
cmp eax, 0x400000
ja 0x41a71f
push eax
call fcn.00445c06
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00419a8b
add esp, 0x18
cmp eax, esi
je 0x41a864
cmp eax, 0x600
je 0x41a864
push edi
call fcn.004463bc
pop ecx
call fcn.0040d911
test al, al
jne 0x41a859
push dword [ebp - 0x10]
call fcn.00419ac5
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41a6c3
call fcn.0040d911
test al, al
jne 0x41a876
push dword [ebp - 0x10]
call fcn.00419ac5
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041a4db
push edi
jmp 0x41a781
Function at 0x4245ab
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x4f8], ebx
je 0x424620
cmp dword [ebp + 8], 0x100
jne 0x42460e
cmp word [ebp + 0xc], 0xd
jne 0x42460e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jle 0x4245e4
cmp byte [esi + 0x4fe], bl
je 0x4245f5
push 0x11
call edi
test ax, ax
jge 0x42460e
cmp byte [esi + 0x4ff], bl
jne 0x42460e
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x42460a
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0040f6b9
xor eax, eax
jmp 0x424623
mov eax, dword [esi + 0x4f8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x42bcbc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x42bce1
cmp eax, edi
jge 0x42bcd9
mov eax, esi
call fcn.0042b670
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x42bd03
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x42bce8
cmp ecx, 4
jge 0x42bd22
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x42bd10
xor eax, eax
jmp 0x42bd18
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x42bd06
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x42bd54
mov eax, str.zlib_corrupt
call fcn.0042928d
jmp 0x42bd8f
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42bd64
mov eax, str.read_past_buffer
jmp 0x42bd4d
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42bd79
mov ecx, edi
call fcn.0042b69b
test eax, eax
je 0x42bd8f
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004482b0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x440057
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4770c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x28], bl
je 0x4400c8
cmp dword [esi + 0x20], ebx
je 0x4400c8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00448620
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x4400c8
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00411e6c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040f6b9
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445f20
leave
ret 0x10
Function at 0x445f20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4770c4]
jne 0x445f2a
repz ret
jmp fcn.0044c8e4

Function at 0x457ad8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044eed1
and dword [ebp - 4], 0
cmp dword [0x4799fc], 0
mov ebx, eax
jne 0x457b89
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x457c3a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x457c3a
push eax
call fcn.0044ee5f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4799fc], eax
call esi
push eax
call fcn.0044ee5f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x479a00], eax
call esi
push eax
call fcn.0044ee5f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x479a04], eax
call esi
push eax
call fcn.0044ee5f
pop ecx
mov dword [0x479a0c], eax
test eax, eax
je 0x457b89
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044ee5f
pop ecx
mov dword [0x479a08], eax
mov eax, dword [0x479a08]
cmp eax, ebx
je 0x457be1
cmp dword [0x479a0c], ebx
je 0x457be1
push eax
call fcn.0044eeda
push dword [0x479a0c]
mov esi, eax
call fcn.0044eeda
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x457be1
test edi, edi
je 0x457be1
call esi
test eax, eax
je 0x457bd8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x457bd8
test byte [ebp - 0xc], 1
jne 0x457be1
or dword [ebp + 0x10], 0x200000
jmp 0x457c1a
mov eax, dword [0x479a00]
cmp eax, ebx
je 0x457c1a
push eax
call fcn.0044eeda
pop ecx
test eax, eax
je 0x457c1a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x457c1a
mov eax, dword [0x479a04]
cmp eax, ebx
je 0x457c1a
push eax
call fcn.0044eeda
pop ecx
test eax, eax
je 0x457c1a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4799fc]
call fcn.0044eeda
pop ecx
test eax, eax
je 0x457c3a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457c3c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret