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

Disassembly:
sub esp, 0x234
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x230], eax
xor eax, eax
push esi
mov esi, dword [esp + 0x23c]
push 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
push esi
push eax
call fcn.0044783f
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x418a5b
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call edi
test eax, eax
je 0x418a85
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret
push 0x208
lea edx, [esp + 0x34]
push 0
push edx
call fcn.004449b0
push esi
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.00447889
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x418adf
lea ecx, [esp + eax*2 + 0x2e]
movzx eax, word [ecx]
cmp ax, 0x5c
je 0x418acb
cmp ax, 0x2f
jne 0x418ad0
xor edx, edx
mov word [ecx], dx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x418af8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
jne 0x418b10
lea edx, [esp + 0x30]
push edx
call fcn.004189e0
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret
Function at 0x418e30
Capabilities:
Copy file
Delete file
Move file
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x45c7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov edi, dword [esp + 0x264]
mov esi, dword [esp + 0x268]
push edi
call fcn.00417f70
add esp, 4
test eax, eax
je 0x418fa5
cmp dword [esp + 0x26c], 0
jne 0x418ea3
push esi
call fcn.00417f70
add esp, 4
test eax, eax
jne 0x418fa5
push esi
call fcn.00417ff0
push esi
call fcn.00417f70
add esp, 8
test eax, eax
je 0x418f97
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x418f97
push esi
lea ecx, [esp + 0x30]
call fcn.00404180
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x268], 0
mov dword [esp + 0x18], 0x5c
call fcn.00401a90
cmp eax, 0xffffffff
je 0x418f8e
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.004041f0
push 0x208
lea edx, [esp + 0x4c]
push 0
push edx
call fcn.004449b0
add esp, 0xc
push 0x208
lea eax, [esp + 0x4c]
push eax
push 0x463dfc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x418f4b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
push 0x45f83c
push edx
call fcn.00401040
add esp, 0x10
push 1
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x10]
test eax, eax
jne 0x418f89
call fcn.00402300
lea ecx, [esp + 0x2c]
call fcn.00402300
xor eax, eax
jmp 0x418fae
call fcn.00402300
lea ecx, [esp + 0x2c]
call fcn.00402300
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x418fa9
xor eax, eax
jmp 0x418fae
mov eax, 1
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00444b03
add esp, 0x254
ret
Function at 0x419130
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
push 0x208
lea eax, [esp + 0x210]
push 0
push eax
call fcn.004449b0
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0xc
push 0x208
lea ecx, [esp + 0x210]
push ecx
push str.PROGRAMFILES
call esi
push str.ADSafe3
lea edx, [esp + 0x210]
push edx
mov eax, edx
push 0x45f83c
push eax
call fcn.00401040
lea eax, [esp + 0x21c]
add esp, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4191a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x210]
push ecx
mov ecx, 0x47448c
call fcn.00403400
push 0x208
lea edx, [esp + 8]
push 0
push edx
call fcn.004449b0
add esp, 0xc
push 0x208
lea eax, [esp + 8]
push eax
push str.APPDATA
call esi
push str.ADSafe3
lea ecx, [esp + 8]
push ecx
mov edx, ecx
push 0x45f83c
push edx
call fcn.00401040
add esp, 0x10
lea eax, [esp + 4]
lea edx, [eax + 2]
pop esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419210
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 4]
push eax
mov ecx, 0x4744c4
call fcn.00403400
push 0x208
lea ecx, [esp + 0x414]
push 0
push ecx
call fcn.004449b0
add esp, 0xc
lea edx, [esp + 0x410]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x419267
xor ecx, ecx
mov word [esp + eax*2 + 0x40e], cx
lea eax, [esp + 0x410]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419271
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x414]
push edx
mov ecx, 0x4744a8
call fcn.00403400
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.00444b03
add esp, 0x61c
ret
Function at 0x419460
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c83b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004449b0
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x419547
lea edx, [esp + 4]
push 9
push edx
call fcn.00419370
add esp, 8
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
mov dword [esp + 0x234], 0
jae 0x4194ed
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push 0x4600e4
push ecx
call fcn.00401040
lea edx, [esp + 0x30]
push edx
call fcn.00418170
add esp, 0x14
test eax, eax
jne 0x419562
cmp dword [esp + 0x1c], 8
mov dword [esp + 0x234], 0xffffffff
jb 0x419530
mov eax, dword [esp + 8]
push eax
call fcn.0044475c
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], cx
push str...commonutility.cpp
push 0x1fb
push str.Line_no_d_source_s_DeleteDesktopShortcut_failed._r_n
call fcn.0040c370
add esp, 0xc
xor eax, eax
jmp 0x41957b
cmp dword [esp + 0x1c], 8
jb 0x419576
mov edx, dword [esp + 8]
push edx
call fcn.0044475c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret
Function at 0x4195a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c87b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
push 0x1a
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4196a4
push 0x104
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.004449b0
mov eax, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x4196a4
lea ecx, [esp + 8]
push 9
push ecx
call fcn.00419370
push 0x208
lea edx, [esp + 0x238]
push 0
push edx
mov dword [esp + 0x454], 0
call fcn.004449b0
mov eax, dword [esp + 0x20]
add esp, 0x14
cmp dword [esp + 0x20], 8
jae 0x41965f
lea eax, [esp + 0xc]
push eax
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x238]
push str._s_s_s.lnk
push ecx
call fcn.00401040
lea edx, [esp + 0x240]
push edx
call fcn.00418170
add esp, 0x18
test eax, eax
jne 0x4196bf
lea ecx, [esp + 8]
mov dword [esp + 0x440], 0xffffffff
call fcn.00402300
push str...commonutility.cpp
push 0x25d
push str.Line_no_d_source_s_DeleteLaunchShortcut_failed._r_n
call fcn.0040c370
add esp, 0xc
xor eax, eax
jmp 0x4196d8
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 8]
call fcn.00402300
mov eax, 1
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00444b03
add esp, 0x440
ret
Function at 0x41be6a
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 0x41be80
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x41be8c
or edi, 1
push 1
call esi
test ax, ax
jge 0x41be98
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x41bea4
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x41beb0
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x41d7c5
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 0x41d7ea
cmp ebx, dword [esi + 0x54]
je 0x41d7ea
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x41d8ac
push edi
test eax, eax
je 0x41d83d
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 + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.0041d2fd
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x41d8ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41d8ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x41d8ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41d8ab
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.0041d2fd
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41daa9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call fcn.0041a1e7
test eax, eax
jle 0x41daf8
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0041a204
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x41db59
mov ecx, edi
inc ebx
call fcn.0041a1e7
cmp ebx, eax
jl 0x41dac7
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41dbb2
sub eax, 4
je 0x41db5d
dec eax
dec eax
jne 0x41dba9
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00445dd9
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x41cd84
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41dba9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x41dbab
cmp dword [esi + 0x54], 0
je 0x41dba9
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0041be6a
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41dba9
cmp dword [esi + 0x54], 0
je 0x41dc01
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41dc01
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41dc01
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004477de
pop ecx
pop ecx
test eax, eax
je 0x41dc01
mov ecx, dword [esi + 0x54]
call fcn.00423b7d
test al, al
jne 0x41dba9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.0041d95d
jmp 0x41db59
Function at 0x423d5b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x423dc3
cmp dword [ebp + 8], 0x100
jne 0x423db2
cmp word [ebp + 0xc], 0xd
jne 0x423db2
cmp byte [esi + 0x4da], bl
je 0x423d99
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x423db2
cmp byte [esi + 0x4db], bl
jne 0x423db2
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x423dae
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0041d2fd
xor eax, eax
jmp 0x423dc6
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x426655
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x4751f0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x10
mov eax, 0x45d193
call fcn.00447b3b
mov edi, dword [ebp + 0x90]
mov dword [ebp - 0x14], ecx
call fcn.00425c3e
call fcn.0041bef4
push eax
lea ecx, [ebp]
call fcn.0041a5b0
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041befa
mov ecx, eax
call fcn.0041a345
test al, al
je 0x4267ac
push edi
lea ecx, [ebp]
call fcn.0041a3d5
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp]
call fcn.0041a237
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x426721
push str.Error_opening_file
mov ecx, dword [ebp - 0x14]
call fcn.00425e14
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0041a21d
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 + 0x84]
xor ecx, ebp
call fcn.00444b03
add ebp, 0x88
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x426736
push esi
push str.File_is_empty
jmp 0x4266e4
cmp edi, 0x400000
jbe 0x426746
push esi
push str.File_too_large
jmp 0x4266e4
push edi
mov dword [ebp - 0x1c], esi
call fcn.00419974
pop ecx
push esi
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], edi
je 0x42678a
push ebx
call fcn.00444af8
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425c3e
push esi
push str.Could_not_read_file
jmp 0x4266e4
push dword [ebp + 0x94]
mov ecx, dword [ebp - 0x14]
push edi
push ebx
call fcn.00426504
push ebx
mov byte [ebp - 0xd], al
call fcn.00444af8
mov bl, byte [ebp - 0xd]
pop ecx
jmp 0x4266ee
mov bl, 1
jmp 0x4266ee
Function at 0x437077
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4751f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x4370e8
cmp dword [esi + 0x10], ebx
je 0x4370e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0044a550
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x4370e8
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.0041a399
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041d2fd
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444b03
leave
ret 0x10
Function at 0x440679
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 0x44069e
cmp eax, edi
jge 0x440696
mov eax, esi
call fcn.0044002d
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x4406c0
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 0x4406a5
cmp ecx, 4
jge 0x4406df
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4406cd
xor eax, eax
jmp 0x4406d5
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 0x4406c3
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 0x440711
mov eax, str.zlib_corrupt
call fcn.0043dc4a
jmp 0x44074c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x440721
mov eax, str.read_past_buffer
jmp 0x44070a
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x440736
mov ecx, edi
call fcn.00440058
test eax, eax
je 0x44074c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004456b0
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 0x444b03
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4751f0]
jne 0x444b0d
repz ret
jmp fcn.0044e04d
Function at 0x457cd4
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.0044e1c5
and dword [ebp - 4], 0
cmp dword [0x477ab4], 0
mov ebx, eax
jne 0x457d85
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x457e36
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x457e36
push eax
call fcn.0044e153
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x477ab4], eax
call esi
push eax
call fcn.0044e153
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477ab8], eax
call esi
push eax
call fcn.0044e153
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477abc], eax
call esi
push eax
call fcn.0044e153
pop ecx
mov dword [0x477ac4], eax
test eax, eax
je 0x457d85
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e153
pop ecx
mov dword [0x477ac0], eax
mov eax, dword [0x477ac0]
cmp eax, ebx
je 0x457ddd
cmp dword [0x477ac4], ebx
je 0x457ddd
push eax
call fcn.0044e1ce
push dword [0x477ac4]
mov esi, eax
call fcn.0044e1ce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x457ddd
test edi, edi
je 0x457ddd
call esi
test eax, eax
je 0x457dd4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x457dd4
test byte [ebp - 0xc], 1
jne 0x457ddd
or dword [ebp + 0x10], 0x200000
jmp 0x457e16
mov eax, dword [0x477ab8]
cmp eax, ebx
je 0x457e16
push eax
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e16
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x457e16
mov eax, dword [0x477abc]
cmp eax, ebx
je 0x457e16
push eax
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e16
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477ab4]
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457e38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4557ec]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401ea9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c37c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401eb2
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x212], 0x5c
je 0x401ee9
push 0x449080
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0042cb35
add esp, 0xc
test eax, eax
jne 0x401e99
push esi
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0042cb35
add esp, 0xc
test eax, eax
jne 0x401e99
lea eax, [ebp - 0x210]
push eax
call fcn.00403d20
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 4
call fcn.0042c37c
mov esp, ebp
pop ebp
ret