joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a230
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x4fc588]
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x42a24c
cmp dword [eax + 4], 0
jne 0x42a2a3
mov eax, dword [eax]
test eax, eax
jne 0x42a240
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42a40f
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x42a277
mov ecx, dword [0x4fc588]
mov dword [eax], ecx
mov dword [0x4fc588], eax
test eax, eax
je 0x42a40f
mov ebp, dword [eax + 4]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
mov ecx, dword [ebp]
inc dword [eax + 8]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.0042a4b0
test eax, eax
je 0x42a408
push 0x28
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x42a408
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and ebx, 0xf
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, edx
and eax, 1
shl ebx, 3
or ebx, eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x38]
and eax, 0xffffff80
or ebx, eax
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], eax
test edx, edx
je 0x42a353
mov eax, dword [edi - 5]
mov dword [esi + 0xc], eax
mov ax, word [edi - 1]
mov word [esi + 0x10], ax
mov al, byte [edi + 1]
mov byte [esi + 0x12], al
jmp 0x42a35e
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov al, byte [edi + 4]
mov byte [esi + 0x10], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
shl ebx, 0x1f
sar ebx, 0x1f
test ebx, ebx
lea edi, [eax - 5]
cmove edi, eax
xor eax, eax
test ebx, ebx
push ecx
setne al
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42a3b0
mov ecx, ebp
call fcn.0042a1c0
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x1c]
sub eax, edi
mov byte [edi], 0xe9
sub eax, 5
mov dword [edi + 1], eax
test ebx, ebx
je 0x42a3cc
mov eax, dword [esp + 0x18]
mov word [eax], 0xf9eb
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42a3fe
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, ebp
call fcn.0042a1c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
Function at 0x42a420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
test ecx, ecx
lea edi, [eax - 5]
cmove edi, eax
xor ebx, ebx
test ecx, ecx
lea eax, [esp + 0x10]
push eax
setne bl
push 0x40
lea ebx, [ebx*2 + 5]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42a46b
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x42a486
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x42a48c
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x42a810
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4fe948], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x4fe944]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x4fe948], ecx
inc eax
cmp eax, 0x270
jl 0x42a820
mov dword [0x4fab64], 1
mov dword [0x4ff308], 1
ret

Function at 0x42a860
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4ff308], 0
push esi
push edi
mov edi, 0x4fe948
jne 0x42a87d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.0042a810
mov eax, dword [0x4fe948]
mov esi, 0xe3
push ebx
mov dword [0x4fab64], 0x270
mov dword [0x4ff30c], 0x4fe948
push ebp
nop dword [eax]
mov ebx, dword [edi + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, ebx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, ebx
xor ecx, dword [edi + 0x634]
mov dword [edi], ecx
add edi, 4
sub esi, 1
jne 0x42a8a0
mov ebp, 0x18c
nop word [eax + eax]
mov esi, dword [edi + 4]
lea edi, [edi + 4]
mov ecx, esi
mov eax, esi
xor ecx, ebx
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, ebx
mov ebx, esi
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [edi - 0x390]
mov dword [edi - 4], ecx
sub ebp, 1
jne 0x42a8e0
mov ecx, dword [0x4fe948]
and esi, 0x80000001
mov eax, ecx
and cl, 1
and eax, 0x7ffffffe
or esi, eax
movzx eax, cl
shr esi, 1
neg eax
pop ebp
sbb eax, eax
and eax, 0x9908b0df
xor esi, eax
xor esi, dword [edi - 0x38c]
pop ebx
mov dword [edi], esi
pop edi
pop esi
ret

Function at 0x42a950
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4fab64], 1
jne 0x42a95e
call fcn.0042a860
mov eax, dword [0x4ff30c]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ff30c], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x42a9a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4fab64], 1
jne 0x42a9ae
call fcn.0042a860
mov eax, dword [0x4ff30c]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ff30c], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4f3090]
mulsd xmm0, qword [0x4f2ea8]
ret

Function at 0x42b1f0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x42b1f9
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x42b212
cmp dword [0x4fe6fc], 0
je 0x42b212
mov ecx, 0x4fe6f0
jmp fcn.00406b50
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x42b226
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x42ecc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4f90f0]
push ebx
push ebp
add eax, 4
imul eax, eax, 0x108
push esi
push edi
push eax
push dword [0x4fb8c0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [0x4fb8c0], eax
test eax, eax
jne 0x42ecf0
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4f90f4]
mov edi, eax
push 0x4052f0
push 0x4ef6d80
push 0xe
push dword [0x4fba00]
mov ecx, 0x42
mov dword [0x4f90f4], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
call edi
cmp dword [0x4fe1a0], 0
jne 0x42ed31
mov ebp, 1
jmp 0x42ee2b
mov eax, dword [0x4f90f4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax + 0xec], 0
call esi
cmp byte [0x4fb88d], 0
mov ecx, dword [0x4f90f4]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x42ed7e
push 0x4051d0
push 0x64
push 0xb
push dword [0x4fba00]
call edi
test eax, eax
setne byte [0x4fb88d]
mov byte [0x4fe689], 1
call esi
inc dword [0x4fb9e8]
mov ecx, dword [0x4faaf4]
mov dword [0x4fe6ac], eax
mov dword [0x4fe6a8], eax
cmp ecx, dword [0x4faaf8]
jne 0x42edb0
call fcn.00406ef0
mov ecx, dword [0x4faaf4]
cmp ecx, dword [0x4faaf0]
jb 0x42edc5
mov eax, dword [0x4fe1dc]
mov dword [ecx], eax
mov ecx, dword [0x4faaf4]
add ecx, 0xc
mov dword [0x4faaf4], ecx
push 0
push 0
mov dword [ecx], 0
mov dword [ecx + 4], str.Auto_execute
mov dword [ecx + 8], 0
mov ecx, dword [0x4fe1a0]
push 1
call fcn.00444270
sub dword [0x4faaf4], 0xc
mov ebp, eax
dec dword [0x4fb9e8]
cmp byte [0x4fb88d], 0
je 0x42ee24
push 0xb
push dword [0x4fba00]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x42ee24
mov byte [0x4fb88d], 0
mov byte [0x4fe689], 0
mov ebx, dword [0x4f90f4]
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x42ee80
cmp dword [eax + 8], 6
jne 0x42ee49
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42ee60
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x10
push dword [ebx + 0x104]
call fcn.004cc464
mov dword [ebx + 0x104], 0
add esp, 8
mov ebx, dword [0x4f90f4]
mov ecx, ebx
call fcn.00405400
push 1
push 0
mov byte [ebx + 0xec], 1
mov ecx, 0x42
mov esi, ebx
mov edi, 0x4fb8c8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4fb9e4]
push 0xffffffffffffffff
push 0x4cfcf8
mov word [ebx + 0xec], 0x101
mov dword [ebx + 0xe0], 0
mov byte [ebx + 0xee], 0
mov dword [ebx + 0x2c], closesocket
call fcn.004b55f0
cmp word [0x4fc56c], 0
mov esi, 1
jne 0x42ef1d
cmp dword [0x4fc554], 0
jne 0x42ef1d
cmp dword [0x4fba18], 0
jne 0x42ef1d
cmp dword [0x4fba14], 0
jne 0x42ef1d
cmp byte [0x4fb8a5], 0
jne 0x42ef1d
test ebp, ebp
mov ecx, 6
push 0
cmove ecx, esi
push ecx
mov ecx, 0x4fdb90
call fcn.0042f030
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x42ef30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10230
call fcn.004cd440
cmp dword [0x4fba64], 0
push esi
push edi
mov esi, ecx
jne 0x42efbe
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 1
mov edi, eax
jne 0x42efd8
mov edx, dword [edi]
lea ecx, [esp + 0x10]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42efae
test ax, ax
je 0x42efaa
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42efae
add ecx, 4
add edx, 4
test ax, ax
jne 0x42ef88
xor eax, eax
jmp 0x42efb3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42efd8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4fba2c]
push str._restart
jmp 0x42f013
push dword [esi + 0xae0]
lea eax, [esp + 0x21c]
push str._restart___s_
push 0x8010
push eax
call fcn.004b0fe0
add esp, 0x10
lea eax, [esp + 0x218]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4fba2c]
push eax
push dword [esi + 0xaec]
mov ecx, 0x4fdb90
call fcn.0044f7c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x430020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cdbb5
push eax
mov dword fs:[0], esp
sub esp, 0x50
cmp dword [0x4fba64], 0
push esi
push edi
mov esi, ecx
je 0x43009d
lea ecx, [ebp - 0x5c]
call fcn.0042d760
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0042fb40
mov edi, eax
cmp edi, 3
jne 0x430081
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00430180
mov edi, eax
lea ecx, [ebp - 0x5c]
call fcn.0042d7f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x50]
call fcn.00405590
mov dword [ebp - 0x50], vtable.TextFile.0
mov dword [ebp - 0x1c], 0xffffffff
push 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x50]
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0042fb40
mov edi, eax
cmp edi, 3
jne 0x4300e4
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00430180
mov edi, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], vtable.TextFile.0
test ecx, ecx
je 0x430119
cmp dword [ebp - 0x24], 0
jne 0x430119
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov word [ebp - 0x28], ax
cmp ecx, 0xffffffff
je 0x430144
mov eax, dword [ebp - 0x4c]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x43013d
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], vtable.TextStream.0
test eax, eax
je 0x43016b
push 0x2000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x436ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
mov word [esp + 0xc], ax
mov ebx, ebp
mov ax, word [0x4fa350]
mov dword [esp + 8], ecx
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 0x90028
mov dword [esp + 0x14], 0x3e003c
mov dword [esp + 0x18], 0x3d003a
mov dword [esp + 0x1c], 0x2d002b
mov dword [esp + 0x20], 0x2f002a
mov dword [esp + 0x24], 0x7e0021
mov dword [esp + 0x28], 0x7c0026
mov dword [esp + 0x2c], 0x5b005e
mov dword [esp + 0x30], 0x3f002e
mov dword [esp + 0x34], 0x7b
push esi
push edi
test ebp, ebp
je 0x436da5
movzx eax, word [ebp]
test ax, ax
je 0x436da5
mov esi, eax
nop word [eax + eax]
lea eax, [esp + 0x14]
mov edx, 0x20
nop dword [eax]
cmp si, dx
je 0x436e15
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x436d80
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x436d70
mov ecx, ebp
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436db0
sub ecx, edx
lea edi, [ebp - 2]
sar ecx, 1
lea edi, [edi + ecx*2]
cmp edi, ebp
jbe 0x436de4
nop dword [eax]
movzx eax, word [edi]
cmp eax, 0x20
je 0x436ddd
cmp eax, 9
jne 0x436de4
sub edi, 2
cmp edi, ebp
ja 0x436dd0
mov ebx, edi
sub ebx, ebp
sar ebx, 1
inc ebx
cmp ebx, 0xfd
jbe 0x436e23
cmp byte [esp + 0x4c], 0
je 0x436e09
mov ecx, dword [esp + 0x10]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0044e970
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
test ebx, ebx
je 0x436da5
cmp ebx, ebp
lea edi, [ebx - 2]
cmovbe edi, ebx
jmp 0x436dc5
mov esi, dword [esp + 0x44]
push ebx
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
xor eax, eax
mov word [esi + ebx*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
Function at 0x43d930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004cd440
push esi
push edi
push dword [esp + 0x10018]
lea eax, [esp + 0xc]
push dword [esp + 0x10018]
push 0x4eb57c
push 0x8001
push eax
call fcn.004b0fe0
add esp, 0x14
mov edi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [esp + 0x10010]
cmp eax, 0xffffffff
je 0x43d9b9
test al, 0x10
je 0x43d9b9
lea eax, [edi*4 + 0x408]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x43d9b9
lea ecx, [edi*2 + 2]
push ecx
lea ecx, [esp + 0xc]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 4], edi
pop edi
pop esi
add esp, 0x10004
ret 0xc
pop edi
mov dword [esi], 0x4cfc30
pop esi
add esp, 0x10004
ret 0xc
Function at 0x44df30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 0
mov dword [esp + 4], eax
mov edx, ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], str.What
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x44], 0
push esi
mov esi, 8
test eax, eax
jne 0x44dfd0
movzx ecx, byte [edx]
lea eax, [ecx*8]
sub eax, ecx
mov eax, dword [eax*2 + 0x4f95a0]
movzx ecx, word [edx + 2]
mov dword [esp + 0x40], eax
mov eax, dword [0x4fc58c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], str.File
mov dword [esp + 0x68], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], str.Line
mov dword [esp + 0x88], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], str.Message
mov dword [esp + 0xa8], 0
test eax, eax
je 0x44e099
cmp word [eax], 0
je 0x44e099
mov esi, 0xa
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], str.Extra
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc0], eax
mov edx, esi
lea ecx, [esp + 8]
call fcn.0049d0c0
pop esi
add esp, 0xcc
ret 0xc
Function at 0x44e310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cdc7d
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x4fab30]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x44e350
push str.stdout
push esi
mov ecx, 0x4faaf0
call fcn.0040bfb0
mov eax, dword [0x4fab30]
cmp eax, 2
je 0x44e4a1
lea ecx, [ebp - 0x48]
call fcn.00405590
mov dword [ebp - 0x48], vtable.TextFile.0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push dword [edi + 0xafc]
push 2
push dword [ebp + 0x10]
call fcn.004ae250
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
push esi
call fcn.004ae950
mov edx, dword [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
test edx, edx
je 0x44e3db
cmp dword [ebp - 0x1c], 0
jne 0x44e3db
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
cmp eax, fcn.004aed90
jne 0x44e3cd
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call edi
jmp 0x44e3d6
push edx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call eax
xor edx, edx
mov dword [ebp - 0x40], edx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
cmp eax, method.TextFile.virtual_8
jne 0x44e419
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xffffffff
je 0x44e424
mov eax, dword [ebp - 0x44]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x44e411
push ecx
call esi
mov edx, dword [ebp - 0x40]
or ecx, 0xffffffff
mov dword [ebp - 0x14], ecx
jmp 0x44e424
lea ecx, [ebp - 0x48]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], vtable.TextFile.0
test edx, edx
je 0x44e453
cmp dword [ebp - 0x1c], 0
jne 0x44e453
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edx
push dword [ebp - 0x18]
push ecx
call edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 0x20], ax
cmp ecx, 0xffffffff
je 0x44e477
mov eax, dword [ebp - 0x44]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x44e470
push ecx
call esi
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], vtable.TextStream.0
test eax, eax
je 0x44e4a1
push 0x2000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44efc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004cd440
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x44f0cc
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x44f000
mov esi, dword [edi + 0x64c]
test esi, esi
jne 0x44f000
mov ecx, dword [edi + 0x24c]
movzx eax, word [edi + 0x250]
jmp 0x44f008
movzx ecx, word [esi + 2]
movzx eax, word [esi + 4]
push dword [ebp + 0xc]
movzx eax, ax
push eax
mov eax, dword [0x4fc58c]
push dword [eax + ecx*4]
lea eax, [esp + 0x1c]
push str._s___d__:___Warning:__s_n
push 0x2000
push eax
call fcn.004b0fe0
mov edx, eax
add esp, 0x18
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x44f057
push eax
mov ecx, 0x2000
lea eax, [esp + 0x14]
push str._____Specifically:__s_n
sub ecx, edx
lea eax, [eax + edx*2]
push ecx
push eax
call fcn.004b0fe0
add esp, 0x10
lea eax, [esp + 0x10]
cmp ebx, 3
jne 0x44f078
push 0x4e8f54
push 0
push eax
mov ecx, edi
call fcn.0044e310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
mov ecx, 0x4faaf0
call fcn.0040c0d0
test al, al
jne 0x44f092
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebx, 2
jne 0x44f0cc
test esi, esi
jne 0x44f0bc
mov esi, dword [edi + 0x64c]
test esi, esi
jne 0x44f0bc
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0044e970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, esi
push 1
push eax
call fcn.0044e550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10