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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
jne 0x30041672
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x30041689
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 0x300416d8
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.30048f90
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 0x30041699
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x58], 0
je 0x300416f2
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 0x30041733
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x30041752
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0x10], 0
jne 0x30041769
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 0x300417b4
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 0x30041779
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x64], 0
je 0x300417ce
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 0x30042103
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 0x30042188
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 0x300422d6
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 0x30042226
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 0x300422d6
lea edx, [ebp - 0x140]
push edx
call fcn.30048f90
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 0x3004226b
mov eax, 1
test eax, eax
je 0x30042264
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 0x80070057
jmp 0x300422d6
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.300403f3
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x3004229d
mov eax, dword [ebp - 0x14c]
jmp 0x300422d6
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x38
je 0x300422c0
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.3003ff4e
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.30063125
mov esp, ebp
pop ebp
ret 8
Function at 0x30042952
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 0x300429d7
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 0x30042a07
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0x20
je 0x300429f1
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.3003ff4e
mov esp, ebp
pop ebp
ret 8

Function at 0x30042e76
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 0x30042e9d
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 0x30042ed0
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.3003ff4e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30042f03
mov eax, dword [ebp - 0xc]
jmp 0x30042f14
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 0x30044aaa
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 0x30044b0e
cmp dword [ebp - 0x90], 2
jne 0x30044b0e
cmp dword [ebp - 0x9c], 6
ja 0x30044af5
cmp dword [ebp - 0x9c], 6
jne 0x30044b0e
cmp dword [ebp - 0x94], 0x13ba
jb 0x30044b0e
push 0x30006dec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x30044b10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30063125
mov esp, ebp
pop ebp
ret
Function at 0x3004b7b2
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 0x3004b8d2
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 0x3004b838
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x3004b823
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x3004b803
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x3004b81b
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 0x3004b82a
mov dword [ebp - 0xc], 0x80004005
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x50], edx
jmp 0x3004b8d2
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 0x3004c0bc
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063718
push 0x300634ae
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 0x3004c1a2
cmp dword [ebp + 8], 0xffffffff
je 0x3004c1a2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x3004c182
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 0x3004c148
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x3004c151
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x3004c151
mov dword [ebp - 0x1c], 0
jmp 0x3004c182
cmp dword [ebp + 0xc], 0
je 0x3004c182
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x3004c175
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.3004beb4
jmp 0x3004c182
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 0x3004c1a2
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 0x3004c1b8
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 0x3004c1e3
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 0x3004c21b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x3004c210
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 0x3004c210
mov eax, dword [ebp - 4]
jmp 0x3004c21d
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x3004c1da
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3004c611
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 0x3004c63b
mov eax, 1
jmp 0x3004c7a4
push 0x30003388
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x3004c660
push 0x3000660c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp - 4], 0
jne 0x3004c66d
xor eax, eax
jmp 0x3004c7a4
mov eax, dword [ebp - 4]
push eax
call fcn.3004c5da
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3004c690
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 0x3004c6b5
xor eax, eax
jmp 0x3004c7a4
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 4]
jb 0x3004c6ce
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], eax
jbe 0x3004c6dd
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 0x3004c6f6
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], ecx
jbe 0x3004c6fd
xor eax, eax
jmp 0x3004c7a4
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 0x3004c722
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jae 0x3004c78b
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.3004c571
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x3004c719
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 4]
jbe 0x3004c719
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
cmp dword [ebp - 0xe0], edx
jae 0x3004c719
mov eax, dword [ebp - 0xe0]
mov dword [0x300a417c], eax
cmp dword [ebp - 0xdc], 0
jne 0x3004c79e
mov dword [0x300a417c], 0
mov eax, dword [ebp - 0xdc]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.30063125
mov esp, ebp
pop ebp
ret
Function at 0x3004c84d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063728
push 0x300634ae
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 0x3004c88f
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.3004c81a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3004c8a9
xor eax, eax
jmp 0x3004c8fb
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.3004c82f
push eax
call dword [0x300a417c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x3004c8eb
cmp dword [ebp - 0x20], 0xffffffff
jne 0x3004c8f8
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 0x3004c915
Capabilities:
Create thread
Resume thread
Suspend thread
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063738
push 0x300634ae
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 0x3004c90e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x3004c989
xor eax, eax
jmp 0x3004cac6
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0x1f03ff
mov edx, dword [ebp + 8]
push edx
call fcn.3004c84d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3004c9b5
mov dword [ebp - 0x300], 0
jmp 0x3004ca7e
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 0x3004c9eb
mov dword [ebp - 0x300], 0
jmp 0x3004ca5b
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 0x3004ca17
jmp 0x3004ca5b
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 0x3004ca43
jmp 0x3004ca5b
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0x240]
je 0x3004ca5b
mov dword [ebp - 0x300], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x3004ca7e
cmp dword [ebp - 0x2fc], 0
jle 0x3004ca91
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 0x3004cab0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x3004cac0
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.30063125
mov esp, ebp
pop ebp
ret 4
Function at 0x3004ead5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3004eb09
cmp byte [eax], 0
je 0x3004eb4d
lea eax, [eax + 1]
test eax, 3
je 0x3004eb09
cmp byte [eax], 0
je 0x3004eb4d
lea eax, [eax + 1]
test eax, 3
je 0x3004eb09
cmp byte [eax], 0
je 0x3004eb4d
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 0x3004eb09
test cl, cl
lea eax, [eax - 4]
je 0x3004eb4d
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3004eb4d
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3004eb4d
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3004eb4d
lea eax, [eax + 1]
jmp 0x3004eb09
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3004eb5c
Capabilities:
Encode data using xor

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