joyce8/EMBER2024-capa huggingface dataset:
Function at 0x556d06
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x556d9d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x556d9d
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
jbe 0x556d96
push eax
call fcn.0056cbbf
mov esi, eax
pop ecx
test esi, esi
jne 0x556d45
mov eax, 0x8007000e
jmp 0x556da2
push esi
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x556d8f
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x5a556c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x556d8f
mov eax, dword [ebp + 8]
test eax, eax
je 0x556d8f
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
push esi
mov dword [edi], eax
call fcn.0056cbb4
pop ecx
xor eax, eax
jmp 0x556da2
push esi
call fcn.0056cbb4
pop ecx
mov eax, 0x80004005
jmp 0x556da2
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x558578
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or edi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5585e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.EnableFirewall
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5585d1
cmp dword [ebp - 0xc], 4
jne 0x5585d1
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 4], 0
je 0x5585e0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x55866e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HTTP_shellopencommand
push SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x55869c
xor eax, eax
jmp 0x5586ef
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
mov edi, 0x5d2f5b
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x5586dc
cmp dword [ebp - 8], 1
jne 0x5586dc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], 1
pop edi
pop esi
cmp dword [ebp - 4], ebx
je 0x5586ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x567b76
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push 2
push esi
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x567b97
xor eax, eax
jmp 0x567c3e
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x567bbc
cmp eax, 0x80010119
je 0x567bbc
mov ecx, edi
call fcn.00567848
jmp 0x567b90
lea eax, [edi + 0x24]
push eax
push 0x5cfd5c
push 1
push esi
push 0x5cfe1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x567bb3
push ebx
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi + 0x24]
lea ebx, [edi + 0x20]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
mov dword [edi + 0x30], eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x567c34
mov eax, dword [ebx]
cmp eax, esi
je 0x567c34
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x5cf804
push eax
call dword [ecx]
test eax, eax
jl 0x567c34
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebx]
mov ebx, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
call ebx
test eax, eax
jge 0x567c44
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
call fcn.00567848
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebp - 4]
call ebx
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, esi
jl 0x567c34
lea ebx, [edi + 0x28]
push ebx
push 0x5cfdec
push 1
push esi
push 0x5cfe8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x567c34
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [edi + 0x2c]
push ecx
push 0x5cfe0c
push ebx
call dword [eax]
test eax, eax
jl 0x567c34
xor eax, eax
inc eax
jmp 0x567c3d
Function at 0x569ee1
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov dword [ebp - 0x18], eax
call esi
push str.SMBiosData
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
push 2
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x56a07e
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x569f50
cmp eax, 0x80010119
jne 0x56a033
lea eax, [ebp - 4]
push eax
push 0x5cfd5c
push 1
push esi
push 0x5cfe1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x56a033
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x18]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x56a033
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push esi
push esi
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x56a033
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xfa0
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], 1
jne 0x56a033
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x38]
push edx
push esi
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x10]
mov eax, 0x2011
cmp word [ebp - 0x38], ax
jne 0x56a033
mov eax, dword [ebp - 0x30]
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
cmp edi, esi
je 0x56a032
cmp edi, 0x4000
jle 0x56a019
push dword [ebx + 0x18]
call fcn.0056cbb4
push edi
call fcn.0056cbbf
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x24]
push edi
push dword [eax + 0xc]
push dword [ebx + 0x18]
call fcn.0057f520
mov eax, dword [ebx + 0x1c]
add esp, 0xc
mov word [eax + 6], di
pop edi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x56a043
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x56a053
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x56a063
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x56fa9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x56fac3
cmp dword [edi + 0x54], 0
jne 0x56fac3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0056d59f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0056fa60
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56fec3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5a0b5b
call fcn.00580367
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x56fee8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x56ff2e
lea ecx, [ebp - 0x10]
call fcn.00402550
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0056d66e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402910
mov eax, esi
call fcn.0058043f
ret 8

Function at 0x577d76
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x577dbd
call fcn.0056d59f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x577dbd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x577dd9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005778ee
mov esi, eax
test edi, edi
je 0x577dd7
test ebx, ebx
je 0x577dd7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x578e44
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x619e70]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x578edc
push 0x5cd0ac
push 4
push eax
call fcn.0057e5c3
push eax
call fcn.004029a0
add esp, 0x10
push ebx
push edi
call fcn.00580874
mov edi, dword [eax]
call fcn.00580874
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0057fc89
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00580874
cmp dword [eax], ebx
je 0x578ef3
call fcn.00580874
push dword [eax]
call fcn.0056d758
pop ecx
jmp 0x578efa
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x578e87
jmp 0x578f81
call fcn.00580874
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x578f7d
cmp dword [ebp - 0x234], esi
jae 0x578f7d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0057f470
add esp, 0xc
push 0x5ca664
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x578f6c
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x578f6c
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x578f6c
push ebx
push ebx
push esi
jmp 0x578f75
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x578f7f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057db4c
leave
ret

Function at 0x57db4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x619e70]
jne 0x57db56
repz ret
jmp fcn.00583860
Function at 0x590f32
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.0058326f
and dword [ebp - 4], 0
cmp dword [0x628450], 0
mov ebx, eax
jne 0x590fe3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x591094
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x591094
push eax
call fcn.005831fd
mov dword [esp], 0x5ce6d8
push edi
mov dword [0x628450], eax
call esi
push eax
call fcn.005831fd
mov dword [esp], 0x5ce6c4
push edi
mov dword [0x628454], eax
call esi
push eax
call fcn.005831fd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x628458], eax
call esi
push eax
call fcn.005831fd
pop ecx
mov dword [0x628460], eax
test eax, eax
je 0x590fe3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005831fd
pop ecx
mov dword [0x62845c], eax
mov eax, dword [0x62845c]
cmp eax, ebx
je 0x59103b
cmp dword [0x628460], ebx
je 0x59103b
push eax
call fcn.00583278
push dword [0x628460]
mov esi, eax
call fcn.00583278
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59103b
test edi, edi
je 0x59103b
call esi
test eax, eax
je 0x591032
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x591032
test byte [ebp - 0xc], 1
jne 0x59103b
or dword [ebp + 0x10], 0x200000
jmp 0x591074
mov eax, dword [0x628454]
cmp eax, ebx
je 0x591074
push eax
call fcn.00583278
pop ecx
test eax, eax
je 0x591074
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x591074
mov eax, dword [0x628458]
cmp eax, ebx
je 0x591074
push eax
call fcn.00583278
pop ecx
test eax, eax
je 0x591074
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x628450]
call fcn.00583278
pop ecx
test eax, eax
je 0x591094
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x591096
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x754f75b5
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5fba7894
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401482
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x14c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [0x42bc10]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
or eax, 8
mov dword [esp + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x4015a6
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edi, [ebp - 0x11d]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebp - 0x12c]
sub esp, 0x10
test eax, eax
jne 0x401540
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x124]
je 0x401525
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov eax, 1
jmp 0x4015a6
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00401482
sub esp, 0xc
test eax, eax
je 0x4014db
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [esp], 4
call fcn.00408295
test eax, eax
push edi
je 0x401581
jmp 0x45132c
cmp dword [0x42bc10], 0
mov eax, 1
jne 0x4015a6
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
push edx
push edx
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x4039fe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
cmp dword [ebp + 8], 0
je 0x403a2d
mov eax, dword [0x41bc60]
test eax, eax
je 0x403a1e
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
mov dword [0x41bc60], 0
jmp 0x403ae4
cmp dword [0x41bc60], 0
je 0x403a48
mov dword [esp], 0
call fcn.00408844
push edx
jmp 0x403ae4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x42bc80]
jbe 0x403ae4
jmp 0x44e32f
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x403ae9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0xc]
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x40a014]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x403b2a
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
jmp loc.0044ecc8
Function at 0x403b63
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
sub ebx, dword [0x427d1c]
add ebx, dword [0x427d18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1f4
mov dword [0x42bc80], eax
test ebx, ebx
jle 0x403d31
mov eax, dword [0x427d14]
lea edi, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00403b31
mov eax, dword [0x427d1c]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call esi
mov dword [0x427d0c], ebx
sub esp, 0x10
mov dword [0x427d08], 0
mov dword [ebp - 0x2c], esi
mov ebx, dword [0x427d10]
sub ebx, dword [0x427d14]
mov eax, 0x4000
mov dword [esp], 0x423c80
cmp ebx, 0x4000
cmovg ebx, eax
mov dword [esp + 4], ebx
call fcn.00403ae9
test eax, eax
push edx
push edx
je 0x403d41
add dword [0x427d14], ebx
mov dword [0x427c98], 0x423c80
mov dword [0x427c9c], ebx
cmp dword [0x42bc20], 0
je 0x403c64
cmp dword [0x42bc00], 0
jne 0x403c64
mov eax, dword [0x427d1c]
sub eax, dword [0x427d18]
sub eax, dword [ebp + 8]
mov dword [esp], 0
add eax, dword [0x427d0c]
mov dword [0x427d08], eax
call fcn.004039fe
mov ecx, 0x427c80
mov dword [0x427ca0], 0x41bc80
mov dword [0x427ca4], 0x8000
call fcn.00408939
test eax, eax
js 0x403ce8
mov esi, dword [0x427ca0]
sub esi, 0x41bc80
je 0x403cdb
mov eax, dword [0x40a010]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x41bc80
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x403cef
jmp 0x455cc1
cmp dword [0x427c9c], 0
jne 0x403ce8
test ebx, ebx
jne 0x403cf6
mov eax, 0xfffffffd
jmp 0x403d44
mov eax, 0xfffffffe
jmp 0x403d44
mov edx, dword [0x427d18]
mov eax, edx
sub eax, dword [0x427d1c]
add eax, dword [ebp + 8]
test eax, eax
jg 0x403be3
mov eax, dword [0x40a010]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ebp - 0x2c]
sub esp, 0x10
mov dword [esp], 1
call fcn.004039fe
xor eax, eax
jmp 0x403d44
or eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x403d4e
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
test eax, eax
js 0x403d8e
add eax, dword [0x42bc78]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [0x427d18], eax
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
mov dword [esp], 4
call fcn.00403b63
test eax, eax
push ecx
mov edx, eax
js 0x403ef3
lea eax, [ebp - 0x20]
lea edi, [ebp - 0x24]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 4
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp + 0xc], edi
mov dword [esp], eax
call ebx
sub esp, 0x14
test eax, eax
je 0x403ea4
cmp dword [ebp - 0x24], 4
jne 0x403ea4
mov eax, dword [ebp - 0x20]
add dword [0x427d18], 4
mov dword [esp], eax
call fcn.00403b63
test eax, eax
push edx
mov esi, eax
mov edx, eax
js 0x403ef3
cmp dword [ebp + 0x10], 0
jne 0x403eb6
mov dword [ebp - 0x2c], ebx
jmp 0x403e60
cmp ebx, dword [ebp - 0x24]
jne 0x403ea4
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x423c80
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x403eab
cmp ebx, dword [ebp - 0x1c]
jne 0x403eab
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x20], eax
add dword [0x427d18], eax
add esi, eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x403eb2
mov edx, 0x4000
cmp eax, 0x4000
mov dword [esp + 0x10], 0
mov ebx, edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x423c80
cmovle ebx, eax
mov eax, dword [0x40a010]
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
jne 0x403e16
mov edx, 0xfffffffd
jmp 0x403ef3
mov edx, 0xfffffffe
jmp 0x403ef3
mov edx, esi
jmp 0x403ef3
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x20], eax
mov dword [esp + 0x10], 0
jmp 0x45165f
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10