joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44df80
Capabilities:
Create process on windows
Create process suspended
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x70], ecx
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0042d5f0
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.0042d5f0
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x110
call fcn.00405a90
add eax, 0x208
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c060
add esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
push 0x45ac54
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0042e126
add esp, 0xc
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.004059e0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042e192
add esp, 0xc
push 0x45ac58
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0042e192
add esp, 0xc
mov ecx, dword [ebp - 0x70]
add ecx, 0x110
call fcn.004059e0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0042e192
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x44e09e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
xor eax, eax
cmp dword [ebp - 0x64], 1
sete al
jmp 0x44e0e1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x14], 0
je 0x44e0ba
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x44e0ca
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.004059e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x44e0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454003
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x83c], ecx
mov word [ebp - 0x81c], 0
push 0x802
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.0042d5f0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3c
call fcn.004059e0
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x20
call fcn.004059e0
push eax
mov edx, dword [ebp - 0x83c]
add edx, 4
push edx
call fcn.004475f0
add esp, 0x14
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x44e2ee
lea eax, [ebp - 0x81c]
push eax
call fcn.0042d5d5
add esp, 4
test eax, eax
jbe 0x44e2ee
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x828]
call fcn.0040b760
mov dword [ebp - 4], 0
mov dword [ebp - 0x824], 1
mov dword [ebp - 0x82c], 0
jmp 0x44e1e4
mov edx, dword [ebp - 0x82c]
add edx, 1
mov dword [ebp - 0x82c], edx
mov ecx, dword [ebp - 0x83c]
add ecx, 0x58
call fcn.0040bec0
cmp dword [ebp - 0x82c], eax
jae 0x44e2c2
push 0x45abd8
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x834]
push ecx
call fcn.00413ab0
add esp, 0xc
mov dword [ebp - 0x840], eax
mov edx, dword [ebp - 0x840]
mov dword [ebp - 0x844], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x58
call fcn.00416660
mov ecx, eax
call fcn.004059e0
push eax
mov ecx, dword [ebp - 0x844]
push ecx
lea edx, [ebp - 0x830]
push edx
call fcn.00413ab0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x834]
call fcn.0040b7e0
cmp dword [ebp - 0x824], 0
je 0x44e29c
lea ecx, [ebp - 0x830]
call fcn.0040b800
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e29c
mov dword [ebp - 0x848], 1
jmp 0x44e2a6
mov dword [ebp - 0x848], 0
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x824], eax
lea ecx, [ebp - 0x830]
call fcn.0040b7e0
jmp 0x44e1d5
xor ecx, ecx
cmp dword [ebp - 0x824], 1
sete cl
mov byte [ebp - 0x835], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.0040b7e0
mov al, byte [ebp - 0x835]
jmp 0x44e2f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x44e310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45408c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
lea eax, [ebp - 0x254]
push eax
push 1
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401c70
mov dword [ebp - 4], 0
push 0x45ae58
lea ecx, [ebp - 0x270]
call fcn.00401c70
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.00405a70
push str.https:__yeah.qq.com__q
lea ecx, [ebp - 0x48]
call fcn.00401c70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
lea ecx, [ebp - 0x48]
call fcn.00405e70
lea ecx, [ebp - 0x2c]
call fcn.004059e0
push eax
lea ecx, [ebp - 0x48]
call fcn.004059e0
push eax
call fcn.00447470
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret

Function at 0x44e430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4540cf
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
lea eax, [ebp - 0x254]
push eax
push 1
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401c70
mov dword [ebp - 4], 0
push 0x45ae10
lea ecx, [ebp - 0x270]
call fcn.00401c70
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.00405a70
push 0x45ae28
lea ecx, [ebp - 0x48]
call fcn.00401c70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
lea ecx, [ebp - 0x48]
call fcn.00405e70
lea ecx, [ebp - 0x2c]
call fcn.004059e0
push eax
lea ecx, [ebp - 0x48]
call fcn.004059e0
push eax
call fcn.00447470
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x44e7e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45460e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x48]
call fcn.00405a00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
call fcn.00447e20
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.00401d20
movzx ecx, al
test ecx, ecx
jne 0x44e85e
lea ecx, [ebp - 0x48]
call fcn.00405a90
sub eax, 1
push eax
lea ecx, [ebp - 0x48]
call fcn.00401cf0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x44e85e
push 0x45abdc
lea ecx, [ebp - 0x48]
call fcn.00401cd0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.00401cb0
mov ecx, dword [ebp - 0x70]
add ecx, 0xd8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00405a30
mov byte [ebp - 4], 1
push 0x45abe0
lea ecx, [ebp - 0x68]
call fcn.00401c70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x70]
add edx, 0xa0
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00447980
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00405a70
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.00405e70
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.004059e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x45abf8
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x12c]
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0xf4
call fcn.004059e0
push eax
call fcn.00447740
add esp, 0x10
mov dword [ebp - 0x4c], eax
xor edx, edx
cmp dword [ebp - 0x4c], 1
sete dl
mov byte [ebp - 0x69], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405a70
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x44eb90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
lea eax, [ebp - 0x254]
push eax
push 1
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401c70
mov dword [ebp - 4], 0
push 0x45ae9c
lea ecx, [ebp - 0x270]
call fcn.00401c70
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.00405a70
call fcn.00409eb0
add eax, 0xc
push eax
lea ecx, [ebp - 0x48]
call fcn.00405a30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004059e0
push eax
lea ecx, [ebp - 0x48]
call fcn.004059e0
push eax
call fcn.00447470
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret

Function at 0x44fcb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x44fc90
push 0
push 0
call fcn.0042e306
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x44fce0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4544d5
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x2c]
call fcn.00405a00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00447e20
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00401d20
movzx ecx, al
test ecx, ecx
jne 0x44fd64
lea ecx, [ebp - 0x2c]
call fcn.00405a90
sub eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401cf0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x44fd64
push 0x45e05c
lea ecx, [ebp - 0x2c]
call fcn.00401cd0
push 0x45e060
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402160
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.00401cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00405a70
mov ecx, dword [ebp - 0xc0]
call fcn.004059e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push str.RT_RCDATA
push 0x71
mov ecx, dword [ebp - 0xc0]
call fcn.004059e0
push eax
call fcn.00447740
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x1c
call fcn.00401cb0
push 0x3a8
mov edx, dword [ebp - 0xc0]
add edx, 0x1c
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x38
call fcn.00401c50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405b70
push str.20190103
lea ecx, [ebp - 0x84]
call fcn.00401c70
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 3
push 0x3a8
mov ecx, dword [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x54
call fcn.00401c50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00405b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00405a70
push 0x3a8
mov edx, dword [ebp - 0xc0]
add edx, 0x1c
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x7c
call fcn.00401c50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00405b70
mov eax, dword [ebp - 0xc0]
mov word [eax + 0x98], 2
push 0
push 1
call fcn.0042ae43
mov edx, dword [ebp - 0xc0]
mov ecx, eax
call fcn.0042af4c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret 4
Function at 0x4ea990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x94000]
push edi
jmp 0x4ea9aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ea9b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9a0
mov eax, 1
add ebx, ebx
jne 0x4ea9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ea9d4
jne 0x4ea9f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9f3
dec eax
add ebx, ebx
jne 0x4ea9e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ea9b8
add ebx, ebx
jne 0x4ea9ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4eaa45
xor ecx, ecx
sub eax, 3
jb 0x4eaa0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4eaa7a
sar eax, 1
mov ebp, eax
jmp 0x4eaa16
add ebx, ebx
jne 0x4eaa16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9e4
inc ecx
add ebx, ebx
jne 0x4eaa24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9e4
add ebx, ebx
jne 0x4eaa31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4eaa26
jne 0x4eaa42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4eaa26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4eaa64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4eaa56
jmp 0x4ea9a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4eaa64
add edi, ecx
jmp 0x4ea9a6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4eaa82
cmp byte [edi], 0x11
jne 0x4eaa82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4eaa87
lea edi, [esi + 0xe3000]
mov eax, dword [edi]
or eax, eax
je 0x4eaaff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfc0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfc22c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4eaab4
mov ecx, edi
jns 0x4eaae3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfc230]
or eax, eax
je 0x4eaaf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4eaad1
call dword [esi + 0xfc240]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4eab30
cmp al, 0xef
ja 0x4eab23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4eab05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4eab12
mov ebp, dword [esi + 0xfc234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4eab64
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0xbcdd00], 1
mov dword [0xbcdcfc], 1
mov dword [0xbcdcf8], 1
mov dword [0xbcdcf0], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x5c8014], eax
mov eax, dword [0xbcdd0c]
test eax, eax
je 0x4010b0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0xbcdd20]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0xbcdd08]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x585804], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060
Function at 0x401be6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x401d91
cmp dword [ebp - 0xc], 1
je 0x401c0b
jmp 0x401d8c
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xa4]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x9c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__1538
mov dword [ebp - 0xc], 0
nop
jmp 0x401bf6
nop
leave
ret
Function at 0x405d51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x405d76
cmp dword [ebp - 0xc], 1
je 0x405ea1
jmp 0x405e9c
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__3162
mov dword [ebp - 0xc], 1
nop
jmp 0x405d61
nop
leave
ret