joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
mov eax, esp
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x487468
call fcn.00478410
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00447c30
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov bl, al
mov eax, dword [esp + 0x20]
mov byte [esp + 0x27], bl
mov edx, dword [edx + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433580
mov ecx, eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x2c], eax
setb al
test al, 1
jne 0x418cf9
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov eax, esp
lea esi, [esp + 0x34]
mov dword [eax + 8], esi
mov dword [eax], edx
movzx ecx, cl
and ecx, 1
mov dword [eax + 4], ecx
call fcn.0042d5b0
mov eax, dword [esp + 0x14]
add esp, 0x64
pop esi
pop edi
pop ebx
ret
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_std_src_sys_path_windows.rs
call fcn.00469640
int3
Function at 0x41f470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x70
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041e020
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004340a0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.00434ad0
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x41f53d
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040d030
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
lea eax, [0x487c94]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00425860
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041e050
test al, 1
jne 0x41f5c8
jmp 0x41f5b0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
call fcn.0041f640
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00425f20
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp dword [esp + 0x38], 1
jne 0x41f4d7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x18], eax
setb al
test al, 1
jne 0x41f5a3
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x41f4b1
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_std_src_io_mod.rs
call fcn.00469640
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
xor eax, eax
cmp eax, ecx
setb al
test al, 1
jne 0x41f5d1
jmp 0x41f5e9
cmp dword [esp + 0x28], 0
je 0x41f604
jmp 0x41f609
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041f450
jmp 0x41f604
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x487ca4
mov dword [eax], 0
call fcn.00467040
add esp, 0x70
pop esi
ret
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 0x487cdc
call fcn.0042bc90
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x487ce4
call fcn.00466d10
int3
Function at 0x42c7f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x14], ecx
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], edx
mov edx, esp
mov dword [esi + 0x2c], edx
mov dword [esi + 0x38], 0xffffffff
lea edx, [esi + 0x30]
mov dword [esi + 0x34], 0x430800
mov edi, dword fs:[0]
mov dword [esi + 0x30], edi
mov dword fs:[0], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov byte [esi + 0x1f], 0
mov byte [esi + 0x1f], 1
mov dword [esi + 0x38], 0
call fcn.00406c20
mov byte [esi + 0x1e], al
jmp 0x42c859
mov al, byte [esi + 0x1e]
test al, 1
jne 0x42c885
jmp 0x42c862
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov byte [esi + 0x1f], 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0042d3d0
jmp 0x42c862

Function at 0x42f060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.0042f190
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0047cf90
and al, 1
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x4b]
and al, 1
movzx eax, al
cmp eax, 0
jne 0x42f141
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp + 0x20], eax
setb al
test al, 1
jne 0x42f178
jmp 0x42f166
lea eax, [0x4898fc]
mov dword [esp], eax
call fcn.0047d040
and al, 1
mov byte [esp + 0x49], al
mov al, byte [esp + 0x49]
and al, 1
movzx eax, al
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov byte [esp + 0x49], 0
jmp 0x42f155
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_std_src_.._.._backtrace_src_print.rs
call fcn.00469640
int3
Function at 0x4320b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, esp
lea ecx, [esp + 0x58]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x40]
mov dword [eax], ecx
call fcn.00431d70
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, esp
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], esi
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x30]
mov dword [eax], ecx
call fcn.0041b340
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, esp
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], esi
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x20]
mov dword [eax], ecx
call fcn.00427730
movsd xmm1, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x80], xmm0
mov eax, dword [esp + 0x78]
cmp eax, 0
jne 0x432207
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0040b010
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ecx
mov esi, dword [eax]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x9c], 0
xor eax, eax
mov dword [esp], 0
call fcn.00419cb0
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x70]
xor edi, edi
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
sub esp, 0x18
mov dword [esp + 0x98], eax
cmp eax, 0
je 0x43221d
jmp 0x432224
lea eax, [0x489e90]
mov dword [esp], eax
call fcn.00442790
and al, 1
mov byte [esp + 0x6f], al
jmp 0x432229
mov byte [esp + 0x6f], 1
jmp 0x432229
mov byte [esp + 0x6f], 0
mov al, byte [esp + 0x6f]
and al, 1
movzx eax, al
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x433830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
sub esp, 0x6c
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00432b50
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 1
lea eax, [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004627a0
test al, 1
jne 0x4338e0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x47], 0
mov dword [esp + 0x48], 0
movzx ecx, byte [esp + 0x47]
mov eax, esp
lea edi, [esp + 0x48]
mov dword [eax + 0xc], edi
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x10], 0x48a3a8
call fcn.004272d0
mov eax, dword [esp + 0x14]
add esp, 0x6c
pop esi
pop edi
ret
Function at 0x43c550
Capabilities:
Get common file path

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
ret

Function at 0x43c6b0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004299d0
mov ecx, dword [esp + 0xc]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0xc
ret
Function at 0x452b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0xc], ebp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, esp
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 0xffffffff
lea edi, [esi + 0x30]
mov dword [esi + 0x34], 0x45b600
mov ebx, dword fs:[0]
mov dword [esi + 0x30], ebx
mov dword fs:[0], edi
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
mov ecx, eax
add ecx, 0x10
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 0x10]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 1
jne 0x452b97
mov eax, dword [esi + 0x14]
mov dword [esi + 0x28], eax
mov ecx, dword [eax]
mov dword [esi + 0x38], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x18]
mov dword [eax], ecx
call fcn.0046a7c0
mov byte [esi + 0x13], al
jmp 0x452b9d
mov byte [esi + 0x26], 0
jmp 0x452be3
mov al, byte [esi + 0x13]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0047cf90
mov byte [esi + 0x12], al
jmp 0x452bb4
mov al, byte [esi + 0x12]
and al, 1
mov byte [esi + 0x27], al
mov al, byte [esi + 0x27]
and al, 1
movzx eax, al
cmp eax, 0
je 0x452b97
mov eax, esp
mov dword [eax], 0x48d2f4
call fcn.0047d040
mov byte [esi + 0x11], al
jmp 0x452bdb
mov al, byte [esi + 0x11]
and al, 1
mov byte [esi + 0x26], al
mov al, byte [esi + 0x26]
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4666f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004666b0
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], ecx
lea ecx, [0x470800]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], ecx
lea ecx, [0x470800]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004666d0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x68], eax
lea eax, [fcn.00481cf0]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], eax
lea eax, [fcn.00481cf0]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x1c]
lea ecx, [0x48f864]
lea eax, [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.0046acb0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046c5a0
and al, 1
movzx eax, al
add esp, 0x84
ret
Function at 0x46ac10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x48
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
cmp eax, 1
ja 0x46ac7d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
lea edx, str.invalid_args_
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0
add esp, 0x48
pop esi
ret
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 0x49036c
call fcn.0046ac10
mov ecx, dword [esp + 0xc]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x4903f0
call fcn.00466d10
Function at 0x46c7f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
lea ebx, [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0047d3e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0047d440
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x2c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0047d440
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.0047dc10
and al, 1
movzx eax, al
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x471830
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x14]
and cl, 1
mov byte [esp + 6], cl
mov byte [esp + 7], al
mov byte [esp + 0xd], 0
mov byte [esp + 0xd], 1
mov al, byte [esp + 6]
and al, 1
movzx eax, al
cmp eax, 0
jne 0x471868
mov dword [esp + 8], 0x110000
jmp 0x47188a
mov al, byte [esp + 7]
mov byte [esp + 0xf], al
mov byte [esp + 0xd], 0
mov byte [esp + 0xc], al
movzx eax, byte [esp + 0xc]
mov dword [esp], eax
call fcn.0046fb40
mov dword [esp + 8], eax
test byte [esp + 0xd], 1
jne 0x471899
mov eax, dword [esp + 8]
add esp, 0x10
ret
jmp 0x471891
Function at 0x48407e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4840bd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4840bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4840bd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4840bd
cmp dword [ecx + 0x74], 0xe
jbe 0x4840bd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4047f0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x40b0dc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4048af
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call ebx
push edi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call ebx
mov eax, dword [esp + 0x3c]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x38], esi
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 0x28
mov ebp, eax
test ebp, ebp
push edi
jne 0x404877
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x20]
push ecx
push 4
push esi
call ebx
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ecx
jne 0x40489f
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
jne 0x4048b9
push ebp
call sub.MFC42.DLL_operatordelete
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push edi
push eax
push 1
push esi
call ebx
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jae 0x4048ef
push ebp
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor eax, eax
test ecx, ecx
jbe 0x404907
mov bl, byte [eax + esi]
xor bl, 0x75
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x4048f5
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
jbe 0x40492d
mov edx, dword [esp + 0x14]
mov eax, ebp
sub edx, ebp
mov ebx, dword [edx + eax]
add eax, 4
add ebx, esi
inc ecx
mov dword [eax - 4], ebx
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jb 0x404919
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esp + 0x18]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x40494d
mov dword [eax], ebp
jmp 0x404953
mov dword [0x41d43c], ebp
mov eax, dword [ebp + 0xab0]
mov esi, 0x40abd8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x404998
test cl, cl
je 0x404982
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x404998
add eax, 2
add esi, 2
test cl, cl
jne 0x40495e
mov ecx, dword [esp + 0x1c]
xor eax, eax
neg eax
sbb eax, eax
pop edi
not eax
pop esi
pop ebp
and eax, ecx
pop ebx
add esp, 8
ret
sbb eax, eax
mov ecx, dword [esp + 0x1c]
sbb eax, 0xffffffff
pop edi
neg eax
sbb eax, eax
pop esi
not eax
pop ebp
and eax, ecx
pop ebx
add esp, 8
ret
Function at 0x405ba0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x818]
test eax, eax
jle 0x405bfe
cmp eax, 0x7ee
jge 0x405bfe
mov edi, dword [esp + 0x81c]
test edi, edi
mov eax, edi
jne 0x405bde
mov eax, 0x40b5d0
push esi
push 0
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x405c05
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret
mov edi, dword [esp + 0x81c]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, 0x43
mov dword [esp + 0x10], 0
jmp 0x405c32
mov edi, dword [esp + 0x81c]
mov dword [esp + 0x10], 0
jmp 0x405c32
mov edi, dword [esp + 0x81c]
test edi, edi
jne 0x405c3b
mov edi, 0x40b5d0
call dword [sym.imp.MSVCRT.dll_rand]
and eax, 0x800fffff
jns 0x405c4f
dec eax
or eax, 0xfff00000
inc eax
push eax
push ebx
push edi
push str._c:_s_05X.TMP
push esi
call ebp
push esi
call fcn.00406220
add esp, 0x18
test al, al
jne 0x405c7a
push 0x40a4b4
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
jne 0x405c9b
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jl 0x405c2b
inc ebx
cmp ebx, 0x5a
jle 0x405c1a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x804
ret
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret