joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3003e8ad
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
jne 0x3003e8ca
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x3003e8e1
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + 0xc]
add ecx, dword [eax + 0x30]
cmp edx, ecx
jbe 0x3003e907
mov eax, 0x80070057
jmp 0x3003e945
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e52b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x3003e942
cmp dword [ebp + 0x18], 0
je 0x3003e933
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x34]
add edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x3003e9bb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0
jne 0x3003e9d8
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
je 0x3003e9ed
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.30046c01
shl eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
add edx, 6
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x80]
mov eax, dword [ebp + 0xc]
add ecx, dword [eax + 0x84]
cmp edx, ecx
jbe 0x3003ea36
mov eax, 0x80070057
jmp 0x3003ead0
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.3003e52b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x3003ea57
mov eax, dword [ebp - 8]
jmp 0x3003ead0
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
call dword [edx + 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x3003eaab
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x300064e4
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax]
push edx
call dword [eax + 4]
add esp, 0x14
mov eax, dword [ebp - 8]
jmp 0x3003ead0
cmp dword [ebp + 0x14], 0
je 0x3003eab9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x88]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x88], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3003ead6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x3003eaf3
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x3003eb0a
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 4], 0x6c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp + 0xc]
add ecx, dword [eax + 0x4c]
cmp edx, ecx
jbe 0x3003eb37
mov eax, 0x80070057
jmp 0x3003eb75
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e52b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x3003eb72
cmp dword [ebp + 0x14], 0
je 0x3003eb63
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x50]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x3003eb7b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x3003eb98
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x3003ebaf
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 4], 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x54]
mov eax, dword [ebp + 0xc]
add ecx, dword [eax + 0x58]
cmp edx, ecx
jbe 0x3003ebdc
mov eax, 0x80070057
jmp 0x3003ec1a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e52b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x3003ec17
cmp dword [ebp + 0x14], 0
je 0x3003ec08
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x5c]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3003f31e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x10], 0
jne 0x3003f33b
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x3003f352
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0x10]
add eax, 0x5c
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x5c], eax
jne 0x3003f367
xor eax, eax
jmp 0x3003f47e
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
push 0xc
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3003e52b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x3003f3ab
mov eax, dword [ebp - 0x2c]
jmp 0x3003f47e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c]
add ecx, 0xc
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x5c
cmp dword [ebp - 0x1c], edx
je 0x3003f47c
mov eax, dword [ebp + 8]
push eax
call fcn.30042d87
test eax, eax
je 0x3003f3ee
push 0x4c7
call fcn.3003f484
jmp 0x3003f47e
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x220
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x14
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e9bb
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x3003f428
mov eax, dword [ebp - 0x2c]
jmp 0x3003f47e
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3003eb7b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x3003f3c3
mov eax, dword [ebp - 0x2c]
jmp 0x3003f47e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3003faa1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x3003fabe
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x3003fad5
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x54
cmp dword [ebp - 0xc], edx
je 0x3003fbac
mov eax, dword [ebp - 0xc]
sub eax, 0x27c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x278]
and ecx, 1
jne 0x3003fb25
jmp 0x3003faf3
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x274]
push ecx
call fcn.30046c01
mov edx, dword [ebp - 4]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x278]
and eax, 8
je 0x3003fb6a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0x54]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x278]
and ecx, 4
je 0x3003fb84
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x5c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x278]
and edx, 2
je 0x3003faf3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.30043020
jmp 0x3003faf3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x4c], 0
je 0x3003fbcf
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x4c]
add ecx, 4
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x6c
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x4c]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x84]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x84], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x90]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x90], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3003fc22
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
jne 0x3003fc3f
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x3003fc56
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, 0x5c
cmp dword [ebp - 8], edx
je 0x3003fca5
mov eax, dword [ebp - 8]
sub eax, 0x220
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 0x14
push eax
call fcn.30046c01
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x3003fc66
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x58], 0
je 0x3003fcbf
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x58]
add eax, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
imul eax, eax, 0x18
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + 0x58]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x58], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x84]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x84], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x3003fd00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x3003fd1d
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x3003fd34
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x64
cmp dword [ebp - 4], edx
je 0x3003fd7f
mov eax, dword [ebp - 4]
sub eax, 0x24
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x18]
imul edx, dword [eax + 0x64]
add edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x28]
mov dword [ebp - 8], eax
jmp 0x3003fd44
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x64], 0
je 0x3003fd99
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x64]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x64], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x30040615
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x300930a4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x32]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x36]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x30040692
mov eax, dword [ebp - 0x14c]
push eax
push 0x300066b0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
push ecx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp - 0x14c]
jmp 0x300407da
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x44]
mov byte [ebp - 0x31], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x46]
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], 0
push 0x80
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
call dword [edx + 0x28]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x3004072a
mov eax, dword [ebp - 0x14c]
push eax
push 0x30006680
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
push ecx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp - 0x14c]
jmp 0x300407da
lea eax, [ebp - 0x140]
push eax
call fcn.30046c01
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x144]
cmp eax, dword [edx + 0x1c]
je 0x3004076f
mov ecx, 1
test ecx, ecx
je 0x30040768
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 0x80070057
jmp 0x300407da
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3003e9bb
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x300407a1
mov eax, dword [ebp - 0x14c]
jmp 0x300407da
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x38
je 0x300407c4
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x38
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3003e52b
mov ecx, dword [ebp - 0x3c]
call fcn.3005f839
mov esp, ebp
pop ebp
ret 8
Function at 0x30040e3a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0x504d444d
mov dword [ebp - 0x20], 0x6203a793
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
xor edx, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
call dword [edx + 4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30040eb9
mov eax, dword [ebp - 4]
push eax
push 0x30006744
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
push ecx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp - 4]
jmp 0x30040ee9
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0x20
je 0x30040ed3
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x20
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e52b
mov esp, ebp
pop ebp
ret 8

Function at 0x3004134c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x68]
cmp edx, dword [ecx + 0x70]
je 0x30041371
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
sub edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 0x10
div ecx
test edx, edx
je 0x300413a4
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov edx, dword [ebp - 4]
shr edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003e52b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x300413d7
mov eax, dword [ebp - 0xc]
jmp 0x300413e8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x70]
add eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x70], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x300426e4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x300930a4]
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x30042744
cmp dword [ebp - 0x90], 2
jne 0x30042744
cmp dword [ebp - 0x9c], 6
ja 0x3004272b
cmp dword [ebp - 0x9c], 6
jne 0x30042744
cmp dword [ebp - 0x94], 0xfd2
jb 0x30042744
push 0x30006b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x30042746
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.3005f839
mov esp, ebp
pop ebp
ret
Function at 0x300488a7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x300489a1
push 0x3000773c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x54], 0
jne 0x30048907
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x300488f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.3003f484
mov dword [ebp - 8], eax
jmp 0x300488f9
mov dword [ebp - 8], 0x80004005
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x50], ecx
jmp 0x300489a1
push 0x30007724
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
push 0x3000770c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push 0x300076f8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
push 0x300076e4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push 0x300076d4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
push 0x300076c4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov esp, ebp
pop ebp
ret
Function at 0x30049124
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3005fdf0
push 0x3005fbc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x30049208
cmp dword [ebp + 8], 0xffffffff
je 0x30049208
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x300491e8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x300491ae
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x300491b7
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x300491b7
mov dword [ebp - 0x1c], 0
jmp 0x300491e8
cmp dword [ebp + 0xc], 0
je 0x300491e8
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x300491db
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.30048f1e
jmp 0x300491e8
mov ecx, 0x42
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xffffffff
jmp 0x30049208
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x3004921e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x30049247
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x3004927f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x30049274
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x30049274
mov eax, dword [ebp - 4]
jmp 0x30049281
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x3004923e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc