joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4304c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fd12
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x67f664]
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
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040b030
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x430568
push dword [edi + 0xc]
lea eax, [ebp - 0x1e0]
push dword [edi + 8]
push eax
call fcn.004302f0
push eax
push 0xdb0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push eax
call fcn.00430240
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040b130
push dword [ebp - 0x1b0]
call fcn.004406cc
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
call fcn.004406cc
add esp, 8
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040c1c0
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0040adf0
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040afd0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00430430
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.00430430
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ae50
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040b5a0
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
cmp byte [edi + 1], 0
je 0x430688
push 0x3f4
lea eax, [ebp - 0x1e0]
push eax
call fcn.00411a10
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.0040b400
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 5
call fcn.004406cc
add esp, 4
lea ecx, [ebp - 0x19c]
push 0x4527ac
call fcn.0040b440
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00411920
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b440
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.00412460
push 0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040cb80
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x190]
push eax
push 0x80
push dword [ebp - 0x1b0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.004406cc
add esp, 4
test esi, esi
je 0x43070b
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.004406cc
push dword [ebp - 0x1bc]
call fcn.004406cc
push dword [ebp - 0x1c8]
call fcn.004406cc
push dword [ebp - 0x1d4]
call fcn.004406cc
add esp, 0x10
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.0044048c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x67f664]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x683298], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.004406cc
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044048c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x683290]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044048c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x67f664]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4516a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044048c
mov esp, ebp
pop ebp
ret 4
Function at 0x434c60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4502f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x67f664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434e41
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434b80
cmp dword [ebp - 0x1c], 0
jne 0x434e32
cmp dword [ebx + 8], 0x15555555
je 0x434e55
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00440685
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x453280]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x453280]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434dd5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.00444870
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00440ef0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434dae
cmp eax, 0x200
jae 0x434dac
shl eax, 3
cmp eax, ecx
jae 0x434dae
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004362f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434b80
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434dd8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434e14
mov dword [ecx + eax*8], esi
jmp 0x434e27
cmp dword [ecx + eax*8], edx
jne 0x434e1e
mov dword [ecx + eax*8], esi
jmp 0x434e2b
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434e2b
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00441639
int3
Function at 0x4362f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x436443
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004361f0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x436416
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43638e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x436409
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x4363ca
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x4363c2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x436409
mov edi, eax
cmp ebx, eax
je 0x4363e6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43641f
cmp ebx, eax
jne 0x4363d0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x436352
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x436409
push str.invalid_hash_bucket_count
call fcn.00441639
int3
Function at 0x447263
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4554dc
push 0x4554d4
push str.FlsAlloc
push 0x1e
call fcn.00447141
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447297
push dword [ebp + 8]
mov ecx, esi
call dword [0x451308]
call esi
jmp 0x44729d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4472e1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4554ec
push 0x4554e4
push str.FlsGetValue
push 0x20
call fcn.00447141
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447318
push dword [ebp + 8]
mov ecx, esi
call dword [0x451308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x448bab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x448c48
push ebx
push esi
call fcn.00448b74
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00446f14
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x448bf5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x448c47
push edi
push eax
call fcn.00446c01
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x448c15
call fcn.00446bc7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x448c46
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00446f14
add esp, 0x20
test eax, eax
jne 0x448c34
push edi
call fcn.00446bc7
jmp 0x448c3c
push ebx
call fcn.00446bc7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401f10
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
lea eax, [esp + 4]
push eax
push 0x404098
push 1
push 0
push 0x4041e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor esi, esi
test eax, eax
js 0x402005
mov eax, dword [esp + 4]
mov word [esp + 8], 0
mov word [esp + 0x38], 0
mov word [esp + 0x28], 0
mov word [esp + 0x18], 0
mov ecx, dword [eax]
sub esp, 0x44
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [ecx + 0x28]
test eax, eax
js 0x401fbc
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0
push eax
call dword [ecx + 0x1c]
mov edi, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
js 0x401fd6
mov esi, dword [esp + 8]
jmp 0x402005
test byte [section..data], 1
je 0x402005
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Connect_failed:__08lx_n
jmp 0x401fee
test byte [section..data], 1
je 0x402005
sub esp, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.GetFolder_failed:__08lx_n
mov dword [esp + 8], str.get_tasks_root_folder
mov dword [esp], 0
call sym._wine_dbg_log
add esp, 0x14
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret

Function at 0x402130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x402182
mov esi, eax
xor eax, eax
cmp byte [esi + edi - 1], 0xa
je 0x402161
mov eax, dword fs:[0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
xchg dword [0x4050cc], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x402184
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebp
ret
Function at 0x402950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
call sub.ucrtbase.dll__configure_wide_argv
add esp, 4
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov edi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov ebx, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov esi, eax
call sym._get_nt_header
xor ecx, ecx
cmp word [eax + 0x5c], 2
sete cl
inc ecx
push ecx
call sub.ucrtbase.dll__set_app_type
add esp, 4
push esi
push ebx
push edi
call sym._wmain
add esp, 0xc
push eax
call sub.ucrtbase.dll_exit
nop word cs:[eax + eax]
Function at 0x41b0de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x41b0ed
pop dword [ebp - 0x44]
mov eax, 0x1608ca19
sub eax, 0x15c7192c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x6da3a7f2
sub dword [ebp - 0x54], 0x1f5162a7
mov dword [ebp - 0x50], 0x2c439a52
sub dword [ebp - 0x50], 0xfa104e0d
mov dword [ebp - 0x4c], 0xc88b6fb2
add dword [ebp - 0x4c], 0x83c0d47c
mov dword [ebp - 0x48], 0x53adc392
add dword [ebp - 0x48], 0xac523c6e
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x877486ee
add dword [ebp - 0x54], 0xecfde268
mov dword [ebp - 0x50], 0x3287deab
add dword [ebp - 0x50], 0xee482ca
mov dword [ebp - 0x4c], 0xe123309f
sub dword [ebp - 0x4c], 0x7db3c433
mov dword [ebp - 0x48], 0xdd29c441
sub dword [ebp - 0x48], 0xdd29c441
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x26096e6c
sub eax, 0x25c3bdec
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x51eb2
push 0
call eax
mov ecx, 0xd09a81ab
add ecx, 0x2f65d8bd
xor esi, esi
add esi, eax
mov edi, 0x476000
add edi, dword [ebp - 0x44]
mov edx, 0x1f874d81
mov dword [ebp - 0x34], 0xf97b633
mov ebx, dword [edi]
mov dword [ebp - 0x28], 0x186848c4
xor ebx, edx
add dword [ebp - 0x40], 0xc005b198
mov dword [esi], ebx
add dword [ebp - 8], 0x4ab6e116
add esi, 4
add edi, 4
loop 0x41b200
add eax, 0x709ea61d
sub eax, 0x709d49aa
xor ebx, ebx
add ebx, eax
add eax, 0xbb38f796
add eax, 0x44c7086f
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x40176b
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, esp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x404122], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4043bc], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404350], eax
mov dword [0x40411a], eax
mov dword [0x40433c], 0x30
mov dword [0x404340], 2
jmp 0x4017b0
mov dword [0x404344], 0x403300
mov dword [0x404348], 0
mov dword [0x40434c], 0
mov dword [0x404364], 0x4042e7
mov dword [0x40435c], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404354], eax
mov dword [0x404368], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x404358], eax
push 0x40433c
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40411a]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.please_wait
push str.cokun
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x4043b4], eax
push 5
push dword [0x4043b4]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x4043b4]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x40436c]
jmp 0x401884
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401876
mov eax, dword [0x404374]
jmp 0x40189f
call 0x402d98
ret
Function at 0x402120
Capabilities:
Delete file

Disassembly:
sub esp, 8
fld dword [0x442f28]
push esi
push edi
fstp dword [esp + 8]
mov edi, dword [esp + 0x14]
push 0x4426f0
push edi
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40218b
lea eax, [esp + 0xc]
push eax
push 0x4426f4
push esi
call dword [sym.imp.MSVCR90.dll_fscanf]
add esp, 0xc
cmp eax, 1
jne 0x40217a
fld dword [esp + 0xc]
fcom qword [0x442300]
fnstsw ax
test ah, 0x41
jne 0x402178
fstp dword [esp + 8]
jmp 0x40217a
fstp st(0)
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
push edi
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 8
fld dword [esp + 8]
pop edi
pop esi
add esp, 8
ret
Function at 0x405a00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call fcn.004059a0
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
int3
Function at 0x40c210
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
push edi
push 1
lea eax, [esp + 0x20]
push 4
mov dword [ebp], 0
push eax
mov dword [esi], 0xffffffff
call ebx
add esp, 0x10
cmp eax, 1
je 0x40c251
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
mov ecx, 0x42443353
cmp dword [esp + 0x18], ecx
je 0x40c28b
movzx edx, byte [esp + 0x18]
mov al, byte [esp + 0x1b]
mov byte [esp + 0x1b], dl
movzx edx, byte [esp + 0x19]
mov byte [esp + 0x18], al
mov al, byte [esp + 0x1a]
mov byte [esp + 0x1a], dl
mov byte [esp + 0x19], al
cmp dword [esp + 0x18], ecx
jne 0x40c2ce
mov dword [ebp], 1
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x40c247
cmp dword [ebp], 0
je 0x40c2bb
movzx edx, byte [esi]
mov cl, byte [esi + 3]
lea eax, [esi + 3]
mov byte [eax], dl
mov byte [esi], cl
movzx edx, byte [esi + 1]
mov cl, byte [eax - 1]
dec eax
mov byte [eax], dl
mov byte [esi + 1], cl
mov esi, dword [esi]
cmp esi, 1
jl 0x40c2ce
cmp esi, 3
jg 0x40c2ce
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
ret
Function at 0x40c6f0
Capabilities:
Delete file

Disassembly:
cmp dword [ecx + 4], 0
push esi
lea esi, [ecx + 4]
je 0x40c771
cmp dword [ecx + 8], 0
je 0x40c771
cmp dword [ecx + 0xc], 0
je 0x40c771
mov eax, dword [esp + 8]
push ebp
push 0x443450
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40c728
lea eax, [ebp + 5]
pop ebp
pop esi
ret 8
push ebx
push edi
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi]
push ebp
call fcn.0040c2e0
mov edi, eax
test edi, edi
jne 0x40c74c
inc ebx
add esi, 4
cmp ebx, 2
jle 0x40c730
push ebp
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
test edi, edi
je 0x40c768
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov eax, edi
pop edi
pop ebx
pop ebp
pop esi
ret 8
mov eax, 2
pop esi
ret 8