joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005e43
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100014a0
cmp edx, dword [eax]
je 0x10005e65
add eax, 8
inc ecx
cmp eax, 0x10001530
jl 0x10005e56
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100014a0]
jne 0x10005f93
mov eax, dword [0x1000874c]
cmp eax, 1
je 0x10005f6d
test eax, eax
jne 0x10005e96
cmp dword [0x10008750], 1
je 0x10005f6d
cmp edx, 0xfc
je 0x10005f93
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10005ecd
lea eax, [ebp - 0x1a4]
push 0x10001db8
push eax
call fcn.10003210
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10003190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10005f10
lea eax, [ebp - 0x1a4]
push eax
call fcn.10003190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10001db4
push edi
call fcn.10006f70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x10001d98
push eax
call fcn.10003210
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10003220
lea eax, [ebp - 0xa0]
push 0x10001d94
push eax
call fcn.10003220
push dword [esi + 0x100014a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.10003220
push 0x12010
lea eax, [ebp - 0xa0]
push 0x10001d6c
push eax
call fcn.1000777c
add esp, 0x2c
pop edi
jmp 0x10005f93
lea eax, [ebp + 8]
lea esi, [esi + 0x100014a4]
push 0
push eax
push dword [esi]
call fcn.10003190
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4018c0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x170
mov eax, dword [0x517050]
xor eax, esp
mov dword [esp + 0x168], eax
mov eax, dword [esi + 0x820]
mov edx, dword [eax + 0x28]
push ebx
push ebp
push edi
xor ebx, ebx
push ebx
lea edi, [esi + 0x820]
push ebx
push ebx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 0x40
lea ecx, [esp + 0x134]
push ecx
mov ecx, edi
call edx
cmp word [esp + 0x130], 0x5a4d
je 0x401928
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0043d16a
add esp, 0x170
ret
mov eax, dword [esp + 0x16c]
mov ebp, dword [edi]
cdq
push ebx
push edx
push eax
mov eax, dword [ebp + 0x28]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
push 4
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x10], 0x4550
jne 0x40190e
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 0xe0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
movzx eax, word [esp + 0x16]
mov ebp, dword [esp + 0x44]
xor ecx, ecx
mov dword [esi + 0x834], eax
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b40f
mov ecx, dword [esi + 0x830]
add esp, 4
push ecx
mov dword [esi + 0x830], eax
call fcn.0041b414
add esp, 4
cmp dword [esi + 0x834], ebx
mov dword [esp + 0xc], ebx
jbe 0x401a33
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 0x28
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x114]
mov ecx, dword [esi + 0x830]
add eax, ebp
mov dword [ebx + ecx], eax
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov ecx, dword [esi + 0x830]
add edx, eax
add edx, ebp
mov dword [ebx + ecx + 4], edx
mov edx, dword [esp + 0x114]
sub edx, dword [esp + 0x11c]
mov eax, dword [esi + 0x830]
add edx, ebp
mov dword [ebx + eax + 8], edx
mov eax, dword [esp + 0xc]
add eax, 1
add ebx, 0xc
cmp eax, dword [esi + 0x834]
mov dword [esp + 0xc], eax
jb 0x4019c2
mov eax, dword [esi + 0x834]
test eax, eax
je 0x401aa6
mov ebp, dword [esi + 0x830]
lea ecx, [eax + eax*2]
mov edi, ebp
lea ebx, [ebp + ecx*4]
cmp edi, ebx
mov dword [esp + 0xc], edi
je 0x401a74
add edi, 0xc
cmp edi, ebx
je 0x401a74
mov ecx, dword [esp + 0xc]
push edi
call fcn.00401240
test al, al
je 0x401a6d
mov dword [esp + 0xc], edi
add edi, 0xc
cmp edi, ebx
jne 0x401a5b
mov edi, ebp
cmp edi, ebx
je 0x401a96
add edi, 0xc
cmp edi, ebx
je 0x401a96
push ebp
mov ecx, edi
call fcn.00401230
test al, al
je 0x401a8f
mov ebp, edi
add edi, 0xc
cmp edi, ebx
jne 0x401a81
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x174]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043d16a
add esp, 0x170
ret
Function at 0x40ba10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x40ba29
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ba64
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40ba60
lea ebx, [ebx]
cmp esi, eax
jae 0x40ba64
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40ba50
cmp esi, eax
jb 0x40ba6a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x41a090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4de3e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x517050]
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], 0x4f2c00
push esi
mov dword [esp + 0x18], 1
call fcn.004ba71a
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x41a0e1
mov eax, dword [esi + 0x1c]
push eax
call fcn.0041b414
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], 0x4f2ac8
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41ac34
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x517050]
mov dword [ebp - 4], eax
mov eax, dword [0x532980]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x41ac63
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x41adf0
push dword [0x516000]
call dword [sym.imp.kernel32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x41adf0
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x41ac9b
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41acb3
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x41acd4
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x41acf1
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0041ab97
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ad14
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ad28
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0041ab97
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ad5d
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x41ad6f
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.0041aac8
test eax, eax
pop esi
jne 0x41adb0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0041aac8
test eax, eax
jne 0x41adde
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0041aac8
test eax, eax
jne 0x41adf0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0041aac8
test eax, eax
je 0x41adf0
push dword [ebp - 0x528]
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.0043d16a
leave
ret
Function at 0x4233ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4233fd
call fcn.0041cd37
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [fcn.00520f3c]
test eax, eax
je 0x4233fd
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423418
push edi
call dword [sym.imp.kernel32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00422f74
test ebx, ebx
mov esi, eax
je 0x423416
test edi, edi
je 0x423416
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x423bac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4d350f
call fcn.0043f234
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041cd37
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x423bf7
call fcn.0041cd37
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [fcn.00520f3c]
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x423c08
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x423c15
or eax, 0xffffffff
jmp 0x423d71
mov ecx, esi
call fcn.004236eb
mov dword [ebp - 0x14], eax
call fcn.004203fe
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x423c93
call dword [sym.imp.user32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x423c93
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_IsWindowEnabled]
test eax, eax
je 0x423c93
push 0
push dword [ebp - 0x14]
call dword [fcn.0052104c]
mov dword [ebp - 0x2c], 1
call fcn.00414a90
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x423c93
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x423c93
mov ecx, ebx
call fcn.00425e7b
test eax, eax
je 0x423c93
push 0
mov ecx, ebx
call fcn.00425e96
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042211e
push dword [ebp - 0x14]
call fcn.00420356
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004239b4
xor edi, edi
cmp eax, edi
je 0x423cf0
test byte [esi + 0x3c], 0x10
je 0x423cda
push 4
pop edi
mov ecx, esi
call fcn.00425d38
test ax, 0x100
je 0x423cd0
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041feec
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x423cf0
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00425f16
or dword [ebp - 4], 0xffffffff
jmp 0x423d1b
cmp dword [ebp - 0x28], edi
je 0x423d29
push 1
mov ecx, ebx
call fcn.00425e96
cmp dword [ebp - 0x2c], edi
je 0x423d39
push 1
push dword [ebp - 0x14]
call dword [fcn.0052104c]
cmp dword [ebp - 0x14], edi
je 0x423d52
call dword [sym.imp.user32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x423d52
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00423725
cmp dword [esi + 0x58], edi
je 0x423d6e
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043f2d9
ret
Function at 0x431049
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x431077
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x431095
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00430fb3
jmp 0x431095
mov eax, dword [esi + 0x14]
test eax, eax
je 0x431095
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00430fb3
test edi, edi
mov eax, edi
jne 0x43107f
pop edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x522d90]
test ecx, ecx
je 0x431158
jmp 0x431048
ret 8

Function at 0x4362da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0041cd37
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [fcn.00520f3c]
test eax, eax
jne 0x436305
xor eax, eax
jmp 0x4363a9
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x4362fe
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4362fe
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e4
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x43635a
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x436349
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0043512e
push edi
mov ebx, eax
call fcn.0041b414
test ebx, ebx
pop ecx
je 0x43639c
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.004357c3
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00435875
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x43d16a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x517050]
jne 0x43d174
repz ret
jmp fcn.0044434e
Function at 0x441bd4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x441c11
cmp dword [ebp + 0x14], edi
je 0x441c11
cmp ecx, edi
jne 0x441c18
call fcn.0043f681
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043dd97
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x441c2c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x441c4d
cmp ebx, 0xffffffff
je 0x441c3c
push ebx
push edi
push ecx
call fcn.0043edc0
add esp, 0xc
cmp esi, edi
je 0x441bf9
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x441bf9
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x441c69
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x441c70
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x441d61
test word [esi + 0xc], 0x10c
je 0x441cc4
mov eax, dword [esi + 4]
test eax, eax
je 0x441cc4
jl 0x441dc2
cmp ebx, eax
mov edi, ebx
jb 0x441c95
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x441d69
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043d453
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x441d59
cmp ebx, dword [ebp - 0xc]
jb 0x441d31
cmp dword [ebp - 0xc], 0
je 0x441cee
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x441ce3
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x441cea
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x441cf9
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x441cf9
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x441d95
push eax
push dword [ebp - 8]
push esi
call fcn.00441829
pop ecx
push eax
call fcn.0044bef5
add esp, 0xc
test eax, eax
je 0x441dd4
cmp eax, 0xffffffff
je 0x441dc2
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x441d59
push esi
call fcn.0044b814
cmp eax, 0xffffffff
pop ecx
je 0x441dc6
cmp dword [ebp - 4], 0
je 0x441d95
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x441c78
mov eax, dword [ebp + 0x14]
jmp 0x441c13
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x441d80
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043edc0
add esp, 0xc
call fcn.0043f681
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x441c09
cmp dword [ebp + 0xc], 0xffffffff
je 0x441dab
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043edc0
add esp, 0xc
call fcn.0043f681
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x441c09
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x441c13
or dword [esi + 0xc], 0x10
jmp 0x441dc6
Function at 0x443173
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x5171e0]
je 0x44318e
inc edi
cmp edi, 0x17
jb 0x44317f
cmp edi, 0x17
jae 0x44330e
push ebp
push 3
call fcn.0044e58f
cmp eax, 1
pop ecx
je 0x4432da
push 3
call fcn.0044e58f
test eax, eax
pop ecx
jne 0x4431c2
cmp dword [0x516fc4], 1
je 0x4432da
cmp ebx, 0xfc
je 0x44330d
push 0x4e72c8
mov ebx, 0x314
push ebx
mov ebp, 0x5230a8
push ebp
call fcn.00444fc5
add esp, 0xc
test eax, eax
je 0x4431f8
push esi
push esi
push esi
push esi
push esi
call fcn.0043dc9b
add esp, 0x14
push 0x104
mov esi, 0x5230c1
push esi
push 0
mov byte [0x5231c5], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44323c
push 0x4e72b0
push 0x2fb
push esi
call fcn.00444fc5
add esp, 0xc
test eax, eax
je 0x44323c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043dc9b
add esp, 0x14
push esi
call fcn.00445030
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x443281
push esi
call fcn.00445030
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5233bc
push 0x4e72ac
sub ecx, eax
push ecx
push eax
call fcn.0044e4dc
add esp, 0x14
test eax, eax
je 0x443281
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043dc9b
add esp, 0x14
jmp 0x443283
xor esi, esi
push 0x4e72a8
push ebx
push ebp
call fcn.0044e46b
add esp, 0xc
test eax, eax
je 0x4432a3
push esi
push esi
push esi
push esi
push esi
call fcn.0043dc9b
add esp, 0x14
push dword [edi*8 + 0x5171e4]
push ebx
push ebp
call fcn.0044e46b
add esp, 0xc
test eax, eax
je 0x4432c5
push esi
push esi
push esi
push esi
push esi
call fcn.0043dc9b
add esp, 0x14
push 0x12010
push 0x4e7280
push ebp
call fcn.0044e2ae
add esp, 0xc
jmp 0x44330d
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44330d
cmp ebp, 0xffffffff
je 0x44330d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5171e4]
push dword [esi]
call fcn.00445030
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.kernel32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x460480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0045ff90
mov ecx, esi
mov ebx, eax
call fcn.0045ff60
mov eax, dword [eax + 0xbc]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
call fcn.0041d796
mov ecx, dword [esi + 0x94]
xor eax, eax
mov dword [esp + 0x10], 0x4ea0bc
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x2c], eax
jle 0x46058e
lea ebx, [ebx]
test eax, eax
mov ecx, dword [esi + 0x94]
jl 0x4604e7
cmp eax, dword [ecx + 0x2c]
jge 0x4604e7
mov edx, dword [ecx + 0x28]
mov edi, dword [edx + eax*4]
jmp 0x4604e9
xor edi, edi
cmp dword [edi + 0x4c], 0
je 0x460506
mov dword [edi + 0x4c], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0xc], 0
jne 0x460578
test byte [edi + 0x78], 8
jne 0x460578
mov eax, dword [edi + 0x2c]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0xbd11ffff
push 0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0041d61a
test eax, eax
jne 0x460574
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0041d61a
test eax, eax
jne 0x460574
test ebx, ebx
je 0x460561
cmp dword [ebx + 0x3c], eax
je 0x460561
push 1
lea ecx, [esp + 0x14]
call fcn.0045fe70
jmp 0x460574
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0041d7bc
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x94]
add eax, 1
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 0x2c]
jl 0x4604d0
test byte [esi + 0x7c], 2
je 0x4605a6
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.user32.dll_InvalidateRect]
and dword [esi + 0x7c], 0xfffffffd
test byte [esi + 0x7c], 1
je 0x4605bc
mov eax, dword [esi]
mov edx, dword [eax + 0x158]
mov ecx, esi
call edx
and dword [esi + 0x7c], 0xfffffffe
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.00420f89
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 8
Function at 0x461d90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x94]
push ebp
push eax
call fcn.00482750
mov ebx, eax
test ebx, ebx
mov ecx, esi
je 0x461eb3
push edi
call fcn.0045ffc0
test eax, eax
jne 0x461e79
cmp dword [esi + 0xc8], eax
je 0x461e79
mov ecx, ebx
call fcn.0047cb40
test al, 0x10
jne 0x461e79
push esi
push 0x518d28
call fcn.0042c182
add esp, 8
test eax, eax
je 0x461e79
push 0x12
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
jge 0x461e79
mov ecx, esi
call fcn.0045ff90
mov edi, eax
test edi, edi
je 0x461e79
cmp dword [edi + 0x40], 0
je 0x461e79
mov ecx, dword [edi + 0x50]
cmp dword [ecx + 0x44], 0
je 0x461e79
push 1
mov ecx, edi
call fcn.00464000
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004614b0
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0xb8]
push ebp
push eax
mov ecx, ebx
call edx
push 0
mov ecx, edi
call fcn.00464000
push 0
mov ecx, edi
call fcn.004630d0
call fcn.00458850
mov ecx, eax
call fcn.0047f670
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, esi
call fcn.0045ffc0
test eax, eax
je 0x461e98
cmp dword [esi + 0xc8], 0
je 0x461e72
mov ecx, ebx
call fcn.0047cb40
test al, 0x10
jne 0x461e72
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0x9c]
push ebp
push ecx
push 0
mov ecx, ebx
call edx
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.004202b2
pop esi
pop ebp
pop ebx
ret 0xc