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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
jne 0x300414b2
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x300414c9
push 0x3000660c
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 0x30041518
mov eax, dword [ebp - 8]
sub eax, 0x2e4
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.30048dd0
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 0x300414d9
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x58], 0
je 0x30041532
push 0x3000660c
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 0x30041573
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x30041592
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x300415a9
push 0x3000660c
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 0x300415f4
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 0x300415b9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x64], 0
je 0x3004160e
push 0x3000660c
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 0x30041f43
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [section..cdata]
xor eax, ebp
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]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x30041fc8
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x30006824
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
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov eax, dword [ebp - 0x14c]
jmp 0x30042116
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x44]
mov byte [ebp - 0x31], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x46]
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], 0
push 0x80
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x30042066
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x300067f4
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
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov eax, dword [ebp - 0x14c]
jmp 0x30042116
lea edx, [ebp - 0x140]
push edx
call fcn.30048dd0
lea eax, [eax + eax + 2]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x144]
cmp edx, dword [ecx + 0x1c]
je 0x300420ab
mov eax, 1
test eax, eax
je 0x300420a4
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 0x80070057
jmp 0x30042116
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.30040233
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x300420dd
mov eax, dword [ebp - 0x14c]
jmp 0x30042116
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x38
je 0x30042100
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x38
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3003fd8e
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.30062f67
mov esp, ebp
pop ebp
ret 8
Function at 0x30042792
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0x504d444d
mov dword [ebp - 0x20], 0x6501a793
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]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30042817
mov ecx, dword [ebp - 4]
push ecx
push 0x300068b8
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
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov eax, dword [ebp - 4]
jmp 0x30042847
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0x20
je 0x30042831
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.3003fd8e
mov esp, ebp
pop ebp
ret 8

Function at 0x30042cb6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
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 0x30042cdd
push 0x3000660c
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 0x30042d10
push 0x3000660c
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.3003fd8e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30042d43
mov eax, dword [ebp - 0xc]
jmp 0x30042d54
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 0x300448ea
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [section..cdata]
xor eax, ebp
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 0x3004494e
cmp dword [ebp - 0x90], 2
jne 0x3004494e
cmp dword [ebp - 0x9c], 6
ja 0x30044935
cmp dword [ebp - 0x9c], 6
jne 0x3004494e
cmp dword [ebp - 0x94], 0x13ba
jb 0x3004494e
push 0x30006dec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x30044950
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30062f67
mov esp, ebp
pop ebp
ret
Function at 0x3004b5f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x3004b712
push 0x30007b20
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 0x3004b678
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x3004b663
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x3004b643
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x3004b65b
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x70000
or eax, 0x80000000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x3004b66a
mov dword [ebp - 0xc], 0x80004005
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x50], edx
jmp 0x3004b712
push 0x30007b08
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x30007af0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
push 0x30007adc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x30007ac8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
push 0x30007ab8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x30007aa8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x50]
mov esp, ebp
pop ebp
ret
Function at 0x3004befc
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063558
push 0x300632f0
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 0x3004bfe2
cmp dword [ebp + 8], 0xffffffff
je 0x3004bfe2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x3004bfc2
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 0x3004bf88
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x3004bf91
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x3004bf91
mov dword [ebp - 0x1c], 0
jmp 0x3004bfc2
cmp dword [ebp + 0xc], 0
je 0x3004bfc2
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x3004bfb5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.3004bcf4
jmp 0x3004bfc2
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 0x3004bfe2
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 0x3004bff8
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
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 0x3004c023
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 0x3004c05b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x3004c050
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 0x3004c050
mov eax, dword [ebp - 4]
jmp 0x3004c05d
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x3004c01a
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3004c451
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [section..cdata]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
cmp dword [0x300a417c], 0
je 0x3004c47b
mov eax, 1
jmp 0x3004c5e4
push 0x30003388
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x3004c4a0
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp - 4], 0
jne 0x3004c4ad
xor eax, eax
jmp 0x3004c5e4
mov eax, dword [ebp - 4]
push eax
call fcn.3004c41a
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3004c4d0
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x30007c40
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x3004c4f5
xor eax, eax
jmp 0x3004c5e4
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 4]
jb 0x3004c50e
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], eax
jbe 0x3004c51d
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx + 1]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 4]
jb 0x3004c536
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], ecx
jbe 0x3004c53d
xor eax, eax
jmp 0x3004c5e4
mov ecx, 0x32
mov esi, dword [ebp - 0xe4]
lea edi, [ebp - 0xd8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0
jmp 0x3004c562
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jae 0x3004c5cb
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x30066aa4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*8 + 0x30066aa0]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.3004c3b1
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x3004c559
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 4]
jbe 0x3004c559
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
cmp dword [ebp - 0xe0], edx
jae 0x3004c559
mov eax, dword [ebp - 0xe0]
mov dword [0x300a417c], eax
cmp dword [ebp - 0xdc], 0
jne 0x3004c5de
mov dword [0x300a417c], 0
mov eax, dword [ebp - 0xdc]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.30062f67
mov esp, ebp
pop ebp
ret
Function at 0x3004c68d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063568
push 0x300632f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [0x300a417c], 0
jne 0x3004c6cf
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3004c65a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3004c6e9
xor eax, eax
jmp 0x3004c73b
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3004c66f
push eax
call dword [0x300a417c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x3004c72b
cmp dword [ebp - 0x20], 0xffffffff
jne 0x3004c738
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3004c755
Capabilities:
Create thread
Resume thread
Suspend thread
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063578
push 0x300632f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffa40
mov eax, dword [section..cdata]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x3004c74e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x3004c7c9
xor eax, eax
jmp 0x3004c906
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0x1f03ff
mov edx, dword [ebp + 8]
push edx
call fcn.3004c68d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3004c7f5
mov dword [ebp - 0x300], 0
jmp 0x3004c8be
mov dword [ebp - 0x300], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0xffffffff
jne 0x3004c82b
mov dword [ebp - 0x300], 0
jmp 0x3004c89b
mov dword [ebp - 0x5d0], 0x10007
lea ecx, [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x3004c857
jmp 0x3004c89b
mov dword [ebp - 0x2f8], 0x10007
lea eax, [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x3004c883
jmp 0x3004c89b
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0x240]
je 0x3004c89b
mov dword [ebp - 0x300], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x3004c8be
cmp dword [ebp - 0x2fc], 0
jle 0x3004c8d1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xdead
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [ebp - 0x20], 0
je 0x3004c8f0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x3004c900
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.30062f67
mov esp, ebp
pop ebp
ret 4
Function at 0x3004e915
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3004e949
test cl, cl
lea eax, [eax - 4]
je 0x3004e98d
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3004e98d
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3004e98d
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3004e98d
lea eax, [eax + 1]
jmp 0x3004e949
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3004e99c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3004e9c3
cmp word [eax], 0
je 0x3004e9bc
lea eax, [eax + 2]
test eax, 3
je 0x3004e9c3
jmp 0x3004e9aa
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3004e9fe
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3004e9c3
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3004e9fe
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3004e9fe
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3004e9c3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4