joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4382e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x438311
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x438300
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x439d00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578730
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0053881f
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x10]
xor eax, eax
mov dword [ebx], vtable.._AV___LaunchPad_V___Bind__0A_XV_lambda_3bc57a02792396c7bffc01ea0577bb6f______V_std___std__.0
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov word [edi], ax
call fcn.00423b50
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00423b50
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43b220
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx eax, byte [eax]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x43b23a.35
movzx eax, byte [eax + 0x43b2a4]
jmp dword [eax*4 + 0x43b288]
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043a570
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043b1b0
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043a480
push 0
push dword [ebp + 0xc]
push edx
call fcn.0043ae90
pop ebp
ret 8
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043abd0
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043a310
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043a5d0

Function at 0x43b9f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5788e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00423b50
xor eax, eax
mov dword [esi + 0x2c], 7
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
push eax
push dword [ebp + 0xc]
mov word [ecx], ax
call fcn.00423b50
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43db40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [eax], 0
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43db57
sub esi, edx
sar esi, 1
je 0x43db71
cmp word [ecx + esi*2 - 2], 0x5c
jne 0x43db71
dec esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ecx, [esi*2 + 6]
mov dword [ebp - 4], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x43db97
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + esi]
push edi
push dword [ebp + 8]
push ebx
call fcn.0053da30
add esp, 0xc
mov dword [edi + ebx], 0x2e005c
xor eax, eax
mov word [ebx + esi*2 + 4], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push 0
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
cmp esi, 0xffffffff
je 0x43dbe5
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [eax], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 3
pop esi
setne cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.HttpDownloadEnd
push 1
push 0x4a3
push 0x582e00
push str.CDuiFrameWnd::DownloadSuccess
mov edi, ecx
call fcn.00490600
push 0xc
mov dword [ebp - 4], 0
call fcn.0053cde7
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43e0ed
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x43e0ef
xor esi, esi
call fcn.00432e30
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x43e1e0
push 0
push 0
mov dword [esi + 8], 1
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi + 0x6c8], 2
je 0x43e160
push str.switch
lea ecx, [edi + 0x2c]
mov dword [edi + 0x6c8], 2
call fcn.004493a6
test eax, eax
je 0x43e160
push str.UpdateWindowSate:kWindow_Installing
push 1
push 0x2a9
push 0x582e00
push str.CDuiFrameWnd::UpdateWindowSate
call fcn.00490600
add esp, 0x14
mov ecx, edi
call fcn.004419f0
push dword [edi + 0x748]
mov ecx, edi
call fcn.00442350
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43e6b0
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x30], 0
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
push eax
push 0x58
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x43e711
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x43e6fe
cmp dword [esi + 0x14], 8
jb 0x43e71d
mov esi, dword [esi]
push 0
push 0x50
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43e6fe
cmp dword [edi + 0x14], 8
jb 0x43e738
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
push 0x5d360c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x43e6fe
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x43e6fe
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x43e863
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x13
push ebx
mov dword [ebp - 0x20], 0
call esi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00537df9
mov ecx, dword [ebp - 0x20]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.0053f0c0
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push 0
push 0x13
push ebx
call esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push edi
mov esi, eax
call fcn.0053ece1
add esp, 4
cmp esi, 0x12e
jne 0x43e6fe
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x21
push ebx
call edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00537df9
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push 0
push esi
call fcn.0053f0c0
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push esi
push 0
push 0x21
push ebx
call edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.00423870
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00424b00
lea ecx, [ebp - 0x1c]
call fcn.00424b40
push esi
call fcn.0053ece1
add esp, 4
jmp 0x43e888
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
push 1
push 0xe3
push 0x582e00
push str.GetRedirectUrl
call fcn.00490600
add esp, 0x18
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x43f9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579068
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
lea ecx, [esi + 0x6e4]
push esp
call fcn.0043e3b0
lea eax, [ebp - 0x28]
push eax
call fcn.0042e890
add esp, 0x1c
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x43fabd
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042b3a0
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 1
call fcn.00447c90
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00439ec0
push str.domain
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0042a180
add esp, 0x18
cmp dword [ebp - 0x2c], 8
jb 0x43fa48
push dword [ebp - 0x40]
call fcn.0053ce38
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x43fa6d
push dword [ebp - 0x70]
call fcn.0053ce38
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x5839b8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0053ebbd
mov esi, eax
add esp, 8
test esi, esi
je 0x43faac
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0053fef6
push esi
call fcn.0053ed52
add esp, 0x14
cmp dword [ebp - 0x44], 8
jb 0x43fabd
push dword [ebp - 0x58]
call fcn.0053ce38
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x43face
push dword [ebp - 0x28]
call fcn.0053ce38
add esp, 4
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.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x4402c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579193
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.LoadResZipFile
push 1
push 0x3c9
push 0x582e00
push str.CDuiFrameWnd::LoadResZipFile
call fcn.00490600
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea ecx, [ebx + 0x4b8]
push str.language_
lea eax, [ebp - 0xac]
push eax
call fcn.00447781
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00447c90
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x440388
xor ecx, ecx
jmp 0x44039f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440390
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00423770
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00447670
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.004516fd
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x4403e4
push dword [ebp - 0x28]
call fcn.0053ce38
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x441710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x5816b4
lea ecx, [edi + 0x644]
call fcn.00447c90
push eax
call fcn.0053ebbd
mov esi, eax
add esp, 8
test esi, esi
je 0x44179e
push esi
push 0xa
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
xorps xmm0, xmm0
mov byte [ebp - 7], 0
push 1
push eax
movq qword [ebp - 0xf], xmm0
call fcn.0053fcf1
push esi
call fcn.0053ed52
lea eax, [ebp - 0x10]
push eax
call fcn.0053fad6
mov esi, dword [edi + 0x748]
mov edx, 0x64
sub edx, esi
add esp, 0x18
imul edx, eax
mov ecx, edi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
push eax
call fcn.00442350
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x441da0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x5816b4
lea ecx, [esi + 0x644]
call fcn.00447c90
push eax
call fcn.0053ebbd
add esp, 8
test eax, eax
je 0x441ddc
push eax
call fcn.0053ed52
add esp, 4
lea ecx, [esi + 0x644]
call fcn.00447c90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.00421520
push 0
push dword [esi + 0x74c]
push 0xc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x443600
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579720
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5ef2a0]
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, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x38], 0
push esi
mov word [ebp - 0x48], ax
call fcn.00423b50
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x18]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.00423b50
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.005389b3
lea ecx, [ebp - 0x48]
call fcn.0043c590
cmp dword [ebp - 0x1c], 8
jb 0x4436ad
push dword [ebp - 0x30]
call fcn.0053ce38
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x4436d2
push dword [ebp - 0x48]
call fcn.0053ce38
add esp, 4
xor eax, eax
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.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x446660
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579b51
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 1
jb 0x4466c2
mov eax, dword [edi]
jmp 0x4466c4
mov eax, edi
lea ecx, [ebp - 0x30]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x446775
push eax
lea ecx, [ebp - 0x50]
call fcn.00446270
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4466f1
mov edi, dword [edi]
mov ebx, dword [ebp - 0x50]
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x446768
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x5d3620
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x446768
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.StringFileInfo040904b0FileDescription
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x446768
push dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423770
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00424b00
lea ecx, [ebp - 0x28]
call fcn.00424b40
test ebx, ebx
je 0x446775
push ebx
call fcn.0053ce38
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x4472fd
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 0x44732f
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x449e3e
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x449e61
or esi, 2
push 1
call edi
test ax, ax
jns 0x449e6d
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x449e79
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x449e85
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44d244
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x44d27f
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x44d27f
cmp esi, dword [ebx + 0xe8]
je 0x44d27f
cmp byte [ebx + 0xe0], 0
jne 0x44d27f
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x44d35a
push edi
test eax, eax
je 0x44d2e0
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], esi
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]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe8]
call fcn.0044cefa
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x44d359
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x44d359
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x44d359
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x44d359
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe8], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
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]
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe8]
call fcn.0044cefa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4513fa
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x57a49d
call fcn.00540c52
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00423870
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x428], 0
mov ebx, 0x5d3620
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.00540e86
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00423770
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x5815a8
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.00540e86
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x450]
call fcn.00423770
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.004517fc
add esp, 0xc
lea ecx, [ebp - 0x450]
xor ebx, ebx
push ebx
push 1
call fcn.00424ba0
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424ba0
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00540e9f
lea eax, [ebp - 0x218]
push eax
call fcn.00540e86
add esp, 0x10
test eax, eax
je 0x45157a
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x451509
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x454], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x584738
push eax
call fcn.0042ee10
add esp, 0x10
lea eax, [ebp - 0x420]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, eax
lea eax, [ebp - 0x46c]
push eax
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x468]
call fcn.00424ba0
call fcn.00540c10
ret
Function at 0x45158e
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x57a4e6
call fcn.00540c52
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov esi, dword [ebp + 0xc]
push eax
call fcn.00423870
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x440], 0
mov edi, 0x5d3620
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.00540e86
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00423770
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x5815a8
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.00540e86
pop ecx
push eax
push edi
lea ecx, [ebp - 0x468]
call fcn.00423770
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004517fc
add esp, 0xc
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00424ba0
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00424ba0
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00540e9f
lea eax, [ebp - 0x218]
push eax
call fcn.00540e86
add esp, 0x10
test eax, eax
je 0x4516e9
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x451690
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x424], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x584738
push eax
call fcn.0042ee10
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x4516e9
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424ba0
call fcn.00540c10
ret