joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa2f234
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a2f1b0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa2f3ac
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa2f3ac
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa2f35b
jg 0xa2f28d
test eax, eax
je 0xa2f351
push 1
push 0x1000
call fcn.00a23cd9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa2f2b3
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0xa2f348
push 0x8000
push ebx
call fcn.00a17176
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa2f2df
jg 0xa2f2da
cmp ecx, 0x1000
jb 0xa2f2df
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00a2eab0
add esp, 0x10
cmp eax, 0xffffffff
je 0xa2f324
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa2f2da
jl 0xa2f30b
test ecx, ecx
jne 0xa2f2cc
push dword [ebp - 0xc]
push ebx
call fcn.00a17176
push esi
call fcn.00a23c51
add esp, 0xc
xor edi, edi
jmp 0xa2f3bd
cmp byte [edi + 0x24], 0
je 0xa2f33b
cmp dword [edi + 0x20], 5
jne 0xa2f33b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa2f346
mov edi, dword [edi + 0x18]
jmp 0xa2f348
xor edi, edi
push esi
call fcn.00a23c51
pop ecx
jmp 0xa2f3bd
test ecx, ecx
jg 0xa2f31d
jl 0xa2f35b
test eax, eax
jae 0xa2f31d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a23b07
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa2f37e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa2f31d
jmp 0xa2f3b5
push ebx
call fcn.00a27ee5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa2f31d
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0xa2f3bd
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa2f3ba
mov edi, dword [edi + 0x18]
jmp 0xa2f3bd
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00a23b07
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4209ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4209ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4209ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4209ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4209ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4209ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xbe6610e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2eac3837
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
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
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x5ef02ff0
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x707b0405
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40a360
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40a37a
mov eax, dword [esi]
jmp 0x40a37c
mov eax, esi
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ecx
push ecx
push ebx
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a3ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x40a3c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40a3b3
movzx eax, ax
or eax, 0x80070000
push eax
push ebx
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.00408e20
add esp, 0xc
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c916
add esp, 4
mov edi, eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x40a41f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40a407
movzx eax, ax
or eax, 0x80070000
push eax
push ebx
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.00408e20
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi], 0
jne 0x40a429
xor ecx, ecx
jmp 0x40a43f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a430
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00405670
push edi
call fcn.0040c911
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cb70
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x418280
call fcn.0040d0d0
push 1
call fcn.0040c4b2
pop ecx
test al, al
jne 0x40ca11
push 7
call fcn.0040cf15
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040c47d
mov byte [ebp - 0x24], al
mov eax, dword [0x419d80]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40ca0a
test eax, eax
jne 0x40ca7b
mov dword [0x419d80], ecx
push 0x411204
push 0x4111f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40ca5e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40cb5b
push 0x4111ec
push 0x4111c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x419d80], 2
jmp 0x40ca80
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040c60c
pop ecx
call fcn.0040d355
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40cab0
push esi
call fcn.0040c582
pop ecx
test al, al
je 0x40cab0
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0040cb7a
call esi
call fcn.0040d35b
mov esi, eax
cmp dword [esi], edi
je 0x40cace
push esi
call fcn.0040c582
pop ecx
test al, al
je 0x40cace
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov esi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
push eax
push dword [edi]
push dword [esi]
call main
add esp, 0xc
mov esi, eax
call fcn.0040d030
test al, al
jne 0x40caff
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40cb08
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.0040c629
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40cb5b
call fcn.0040d116
ret
call fcn.0040d24e
jmp 0x40c9f2
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.00401507
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x54c42eaa
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x524f42
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x633f7309
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6fe734f9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4053d9
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40547a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x405421
xor eax, eax
jmp 0x405474
push 0x1388
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405451
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x405474
cmp dword [ebp - 8], 0
jne 0x405465
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x405474
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4054bf
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0x405546
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x405502
or eax, 0xffffffff
jmp 0x405540
push 0xbb8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405533
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x405540
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x405886
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8024
call fcn.0041e950
push 0x42d350
mov eax, dword [ebp + 8]
push eax
call fcn.0041ee7c
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4058b4
xor al, al
jmp 0x405a5a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004057b0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4058ed
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041f2ea
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
push 0x42d354
call fcn.0041f2b9
add esp, 8
xor al, al
jmp 0x405a5a
push 2
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0041f22d
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041f0d5
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041f081
add esp, 4
mov ecx, dword [ebp - 0x14]
shr ecx, 0xf
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0x8000
div ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x405942
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x405980
mov ecx, dword [ebp - 0x24]
push ecx
push 1
push 0x8000
lea edx, [ebp - 0x8024]
push edx
call fcn.0041ef99
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0x8000
lea ecx, [ebp - 0x8024]
push ecx
call fcn.0041ee8f
add esp, 0x10
jmp 0x405939
mov edx, dword [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x8024]
push ecx
call fcn.0041ef99
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x8024]
push ecx
call fcn.0041ee8f
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041f2ea
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041f2ea
add esp, 4
push 0
push 0x10000080
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4059f3
mov al, 1
jmp 0x405a5a
lea edx, [ebp - 0x20]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x10000080
push 3
push 0
push 1
push 0x40000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x405a38
mov al, 1
jmp 0x405a5a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x409bd7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.0040cc70
test eax, eax
jne 0x409c24
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x409c24
xor eax, eax
jmp 0x409c6a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x409c53
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 8], 0
je 0x409c61
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jbe 0x409c65
xor eax, eax
jmp 0x409c6a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x409c6e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x734
push edi
mov ax, word [0x42d408]
mov word [ebp - 0x618], ax
mov byte [ebp - 0x508], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x507]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x730], 0x400
mov byte [ebp - 0x720], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x71f]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x108], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x610], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x60f]
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 0
jne 0x409cf7
xor eax, eax
jmp 0x409ed5
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x614]
call fcn.0040cdb6
lea eax, [ebp - 0x610]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x614]
call fcn.0040cd0e
mov dword [ebp - 0x72c], 1
mov dword [ebp - 0x728], 0
mov dword [ebp - 0x724], 0
jmp 0x409d52
mov edx, dword [ebp - 0x724]
add edx, 1
mov dword [ebp - 0x724], edx
cmp dword [ebp - 0x724], 2
jae 0x409def
lea eax, [ebp - 0x508]
push eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ebp + ecx*4 - 0x72c]
push edx
lea ecx, [ebp - 0x614]
call fcn.0040c9cc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x508]
push ecx
call fcn.0040b5d0
add esp, 8
test eax, eax
jne 0x409da0
xor eax, eax
jmp 0x409ed5
push 0x42d40c
lea edx, [ebp - 0x508]
push edx
call fcn.0041dfc0
add esp, 8
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x508]
push ecx
call fcn.0041dfc0
add esp, 8
lea edx, [ebp - 0x508]
push edx
lea ecx, [ebp - 0x614]
call fcn.0040cc70
test eax, eax
je 0x409dea
mov eax, 1
jmp 0x409ed5
jmp 0x409d43
mov eax, dword [ebp - 0x730]
push eax
lea ecx, [ebp - 0x508]
push ecx
push 0x42d410
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x409e13
xor eax, eax
jmp 0x409ed5
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0x508]
push eax
call fcn.0040b5b0
add esp, 8
mov dword [ebp - 0x734], eax
cmp dword [ebp - 0x734], 0
je 0x409ed3
mov ecx, dword [ebp - 0x734]
push ecx
lea edx, [ebp - 0x720]
push edx
call fcn.0041dfb0
add esp, 8
push 0x42d418
lea eax, [ebp - 0x720]
push eax
call fcn.0041dfc0
add esp, 8
lea ecx, [ebp - 0x610]
push ecx
lea edx, [ebp - 0x720]
push edx
call fcn.0041dfc0
add esp, 8
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x734]
push ecx
call fcn.0040b5d0
add esp, 8
test eax, eax
jne 0x409e9a
xor eax, eax
jmp 0x409ed5
lea edx, [ebp - 0x720]
push edx
lea ecx, [ebp - 0x614]
call fcn.0040cc70
test eax, eax
je 0x409eb7
mov eax, 1
jmp 0x409ed5
lea eax, [ebp - 0x618]
push eax
push 0
call fcn.0040b5b0
add esp, 8
mov dword [ebp - 0x734], eax
jmp 0x409e2f
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret