joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3001e966
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x1fc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov cx, word [ebp - 0x1fc]
mov word [ebp - 0x38], cx
mov dx, word [ebp - 0x1dc]
mov word [ebp - 0x36], dx
mov ax, word [ebp - 0x1da]
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], 0
mov dword [ebp - 0x1d8], 0x94
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x3001e9da
xor eax, eax
jmp 0x3001eae9
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x24], edx
push 0x80
lea eax, [ebp - 0x138]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x3001ea28
xor eax, eax
jmp 0x3001eae9
lea edx, [ebp - 0x138]
push edx
call fcn.30022021
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x13c]
cmp edx, dword [ecx + 0x1c]
je 0x3001ea6d
mov eax, 1
test eax, eax
je 0x3001ea69
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
xor eax, eax
jmp 0x3001eae9
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3001cc1a
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x3001ea9b
xor eax, eax
jmp 0x3001eae9
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x18]
push eax
call fcn.3001e8a5
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x38
je 0x3001eac7
push 0x30001c70
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.3001c756
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov esp, ebp
pop ebp
ret 8
Function at 0x3001ef3c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x24], 0x504d444d
mov dword [ebp - 0x20], 0x6003a793
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
push 0
push 0x989680
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.30028388
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x38]
sub edx, 0xb6109100
mov eax, dword [ebp - 0x34]
sbb eax, 2
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], 0x20
je 0x3001efcf
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
push 0x20
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3001c756
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x3001f410
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 + 0x58]
cmp edx, dword [ecx + 0x60]
je 0x3001f435
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c]
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 0x3001f468
push 0x30001c70
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 + 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3001c756
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3001f4a5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x60]
add eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x300201b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x30020238
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x30020238
push 0
push 0
push 0x10e
lea edx, [ebp - 0x118]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
jle 0x30020238
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], 1
cmp dword [ebp - 0x11c], 0
je 0x30020310
mov eax, dword [ebp - 0x11c]
push eax
call fcn.3001ff69
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30020310
cmp dword [ebp - 0x120], 0
je 0x30020288
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
push 0
lea eax, [ebp - 0x118]
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
mov dword [ebp - 0x130], eax
jmp 0x300202a4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x30020307
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x124]
push edx
push 0x30001c8c
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.DLL_VerQueryValueA
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x30020307
cmp dword [ebp - 0x128], 0x34
jne 0x30020307
push 0x34
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.30028010
add esp, 0xc
mov eax, 1
jmp 0x30020312
mov eax, dword [ebp - 4]
push eax
call fcn.3001ff83
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x3002043b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x30020464
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
cmp dword [ebp - 0xc], eax
jae 0x3002057d
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x80000000
test eax, eax
je 0x3002045b
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x40000000
test eax, eax
je 0x3002045b
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x80
test eax, eax
jne 0x300204ca
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x40
test eax, eax
je 0x3002045b
push 0x18
call fcn.3001ff69
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x3002045b
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 8]
adc ecx, dword [edx + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x274
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
add ecx, 0xc
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x27c], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x280]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x280], edx
jmp 0x3002045b
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x30020585
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x300205b6
cmp dword [ebp - 8], 0xffffffff
jne 0x30020614
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x30020604
push 0
push 0
push 0x10e
lea ecx, [ebp - 0x120]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
jle 0x30020604
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x30020610
cmp dword [ebp - 8], 0xffffffff
jne 0x30020614
xor eax, eax
jmp 0x30020692
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x3002063b
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x30020692
push 0
push 0
push 0
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x30020666
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x30020692
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x30020ab8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x30020ae8
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [ebp + 8]
cmp dword [ecx], eax
je 0x30020ae8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
push edx
call fcn.3001ff83
mov dword [ebp + 8], 0
pop ebp
ret 4
Function at 0x300220d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x3002211a
cmp dword [ebp + 8], 0xffffffff
je 0x3002211a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x3002211a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x3002211a
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x30022123
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 0x3002214c
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 0x30022184
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x30022179
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 0x30022179
mov eax, dword [ebp - 4]
jmp 0x30022186
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x30022143
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x300223d6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
cmp dword [0x300320c4], 0
je 0x300223f2
mov eax, 1
jmp 0x30022564
push 0x30001e20
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x30022417
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
cmp dword [ebp - 4], 0
jne 0x30022424
xor eax, eax
jmp 0x30022564
mov eax, dword [ebp - 4]
push eax
call fcn.300223a3
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x30022447
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
push 0x30001e14
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 0x3002246c
xor eax, eax
jmp 0x30022564
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 4]
jb 0x30022485
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], eax
jbe 0x30022494
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 0x300224ad
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
cmp dword [ebp - 0xe4], ecx
jbe 0x300224b4
xor eax, eax
jmp 0x30022564
push 0xc8
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.30028010
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x300224e1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jae 0x3002254b
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*8 + 0x3002a39c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x3002a398]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.3002233c
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x300224d8
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 4]
jbe 0x300224d8
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
cmp dword [ebp - 0xe0], ecx
jae 0x300224d8
mov edx, dword [ebp - 0xe0]
mov dword [0x300320c4], edx
cmp dword [ebp - 0xdc], 0
jne 0x3002255e
mov dword [0x300320c4], 0
mov eax, dword [ebp - 0xdc]
mov esp, ebp
pop ebp
ret
Function at 0x30022568
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x300320c8], 0
je 0x3002257e
mov eax, dword [0x300320c8]
jmp 0x300225fa
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.300213ac
cmp dword [ebp - 0xc], 1
je 0x300225a8
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
call fcn.30023540
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0x5f
jne 0x300225cb
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov edx, dword [ebp - 8]
sub edx, 0x10
xor eax, edx
mov dword [0x300320c8], eax
jmp 0x300225f5
cmp dword [ebp - 4], 0x62
je 0x300225e2
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [ebp - 8]
sub ecx, 8
xor eax, ecx
mov dword [0x300320c8], eax
mov eax, dword [0x300320c8]
mov esp, ebp
pop ebp
ret

Function at 0x30022625
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30001e30
push 0x30027b3e
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 [0x300320c4], 0
jne 0x30022665
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
mov eax, dword [ebp + 0x10]
push eax
call fcn.300225fe
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3002267b
xor eax, eax
jmp 0x300226c9
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.3002260f
push eax
call dword [0x300320c4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x300226b9
cmp dword [ebp - 0x20], 0xffffffff
jne 0x300226c6
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 0xc
Function at 0x300226e1
Capabilities:
Create thread
Resume thread
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30001e40
push 0x30027b3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffa40
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 0x300226dc
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x30022749
xor eax, eax
jmp 0x30022882
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0x1f03ff
call fcn.30022625
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x30022771
mov dword [ebp - 0x300], 0
jmp 0x3002283a
mov dword [ebp - 0x300], 1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0xffffffff
jne 0x300227a7
mov dword [ebp - 0x300], 0
jmp 0x30022817
mov dword [ebp - 0x5d0], 0x10007
lea eax, [ebp - 0x5d0]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x300227d3
jmp 0x30022817
mov dword [ebp - 0x2f8], 0x10007
lea edx, [ebp - 0x2f8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x300227ff
jmp 0x30022817
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0x240]
je 0x30022817
mov dword [ebp - 0x300], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x3002283a
cmp dword [ebp - 0x2fc], 0
jle 0x3002284d
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push 0xdead
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
cmp dword [ebp - 0x20], 0
je 0x3002286c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x3002287c
mov edx, dword [ebp - 0x1c]
push edx
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 esp, ebp
pop ebp
ret
Function at 0x300254f8
Capabilities:
Encode data using xor

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

Function at 0x3002557f
Capabilities:
Encode data using xor

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

Function at 0x300274dd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
cmp si, 0xffff
push edi
mov dword [ebp - 4], edx
je 0x30027552
test si, 0x3ff
je 0x30027552
push dword [ebp + 8]
call fcn.30027467
test eax, eax
jne 0x3002755b
movzx edi, si
mov esi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push eax
push eax
push 0x58
push edi
call esi
test eax, eax
je 0x3002755b
lea eax, [ebp - 0x24]
push 0x20
push eax
push 0x58
push edi
call esi
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x44]
push 3
lea ecx, [ebp - 0x14]
call fcn.300273dd
test eax, eax
je 0x3002754a
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x44]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x3002755b
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x30027555
mov byte [edx], 1
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop esi
leave
ret 4