joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4164c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485078
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
mov esi, ecx
je 0x416586
lea ecx, [esp + 8]
call fcn.004552dc
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push 1
push 1
push 0xff
push eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
call fcn.00455660
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x416529
mov eax, dword [esi + 0x38]
mov edi, dword [edi + 4]
mov edx, dword [esp + 0xc]
push eax
push edi
push edx
jmp 0x41653b
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [edi + 4]
push eax
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004159f0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00455655
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0
push 0
push edx
push eax
push ecx
mov ecx, esi
call fcn.004159f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x416be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0047916a
mov ebx, dword [esp + 0x18]
mov esi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xf1
push ebx
push esi
call ebp
test eax, eax
jne 0x416c15
push 0xf1
push ebx
xor esi, esi
push esi
call ebp
test eax, eax
je 0x416c32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x10], eax
je 0x416c32
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x416c3c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
movzx eax, word [esi + 6]
shl eax, 2
push eax
call fcn.0045d06c
mov ebx, eax
xor eax, eax
add esp, 4
cmp word [esi + 6], ax
jbe 0x416c72
lea ecx, [esi + 8]
lea esp, [esp]
movzx edx, word [ecx]
mov dword [ebx + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x416c60
movzx eax, word [esi + 6]
push eax
push ebx
mov ecx, edi
call fcn.0047a23a
push ebx
mov ebp, eax
call fcn.0045d071
add esp, 4
test ebp, ebp
je 0x416cc9
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea ebx, [ecx + 7]
push eax
lea edx, [eax + 7]
push ebx
push edx
mov ecx, edi
call fcn.0047a4b4
movzx ecx, word [esi + 2]
mov eax, dword [esp + 0x18]
mov dword [edi + 0xb4], ecx
movzx edx, word [esi + 4]
push eax
mov ecx, edi
mov dword [edi + 0xb8], edx
call fcn.004155c0
mov ebp, eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x41caf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4855e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
push 0x8d
mov dword [esp + 0x18], esi
call fcn.0045ed5a
mov dword [esp + 0x1c], 0
mov dword [esi], 0x4957e0
lea edi, [esi + 0x70]
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 1
lea ebx, [esi + 0x78]
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 2
lea ebp, [esi + 0x7c]
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x20], 3
call fcn.00407070
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x74], ecx
push edx
mov ecx, ebx
call fcn.00407070
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebp
call fcn.00407070
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x80], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x41de90
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485668
push eax
mov eax, 0x1070
mov dword fs:[0], esp
call fcn.0043e250
mov eax, dword [0x4ba8fc]
push ebp
xor ebp, ebp
mov dword [esp + 0x1070], eax
mov dword [esp + 8], ebp
push ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x108c], ebp
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41df38
push 0x492e6c
mov ecx, ebx
call fcn.004073b0
mov eax, dword [esp + 0x1084]
add eax, 0xfffffff0
mov dword [esp + 0x107c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e031
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41e031
push esi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x1088]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push ebp
push 0x20
push 1
push ebp
push ebp
push esi
push ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], eax
mov word [esp + 0x78], bp
mov dword [esp + 0x74], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41dfb9
push 0x492e6c
mov ecx, ebx
call fcn.004073b0
lea eax, [esi - 0x10]
mov dword [esp + 0x1080], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41e026
mov eax, dword [esp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x41dfe0
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x24]
push ecx
push 0xfff
lea edx, [esp + 0x84]
push edx
push eax
call edi
test eax, eax
jne 0x41dfe0
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.004073b0
lea eax, [esi - 0x10]
mov dword [esp + 0x1084], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x41e030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x1074]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1070]
mov eax, ebx
pop ebp
call fcn.0043d1f7
add esp, 0x107c
ret
Function at 0x425e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4ba8fc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push esi
mov dword [esp + 0x110], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x425ec4
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
call fcn.0043d1f7
add esp, 0x110
ret 0xc

Function at 0x4269b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x485dd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x426ab6
push esi
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x14], 0
jge 0x426a1b
push 0x104
lea ecx, [esp + 0xc]
call fcn.00404140
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x426a2f
xor eax, eax
jmp 0x426a43
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426a34
sub eax, edx
js 0x426ac6
cmp eax, dword [esi - 8]
jg 0x426ac6
push edi
push 0xd
mov dword [esi - 0xc], eax
push 0x492e58
lea ecx, [esp + 0x14]
mov byte [eax + esi], 0
call fcn.00404a90
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x426a8b
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x426a8b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x80], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x426ab5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.004013c0
int3
Function at 0x4284d0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485f60
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov dl, byte [esp + 0x24]
xor eax, eax
test dl, dl
setne al
push str.main.backup
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 1
lea eax, [eax + eax + 2]
mov edi, eax
call fcn.004073b0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push edi
push edx
push esi
call ebx
test eax, eax
jne 0x4285aa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42854f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42856e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
push edi
mov edi, dword [esp + 0x24]
push esi
push edi
call ebx
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4285e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4285ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc

Function at 0x428e50
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], method.CCommandLineInfo.virtual_0
jmp fcn.00428db0
Function at 0x428e80
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x485fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x428eb4
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push esi
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.00406f00
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push 0
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [edi + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x428f22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x428f40
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x64]
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x60], edx
mov word [esp + 0x50], 0
mov dword [esp + 0x4c], 0x101
call fcn.004073b0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0x10
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
mov eax, dword [esp + 0x68]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x428fe8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x54
ret 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x54
ret 0x10
Function at 0x429010
Capabilities:
Read file on windows
Read pipe

Disassembly:
push 0xffffffffffffffff
push 0x485fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x4ba8fc]
push ebx
push ebp
push esi
xor ebx, ebx
push ebx
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
mov esi, ecx
mov ecx, dword [esi + 0x1c]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x429108
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42912b
cmp eax, 0xff
mov dword [esp + 0x10], ebx
jbe 0x42907f
mov eax, 0xff
mov ecx, dword [esi + 0x1c]
push ebx
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call ebp
test eax, eax
je 0x429108
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x429108
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + eax + 0x1c], bl
call fcn.004073b0
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x128], ebx
call dword [edx + 0xc]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x124], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4290e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esi + 0x1c]
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x429063
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x429132
cmp eax, 0xe8
je 0x429132
mov edx, dword [esi]
push str.Read_stdout_pipe_error_r_n
mov ecx, esi
call dword [edx + 0x10]
or eax, 0xffffffff
jmp 0x429140
mov eax, 1
jmp 0x429140
mov eax, dword [esi]
push str._r_n_TEST_INFO_:_Child_process_ended_r_n
mov ecx, esi
call dword [eax + 0xc]
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
pop ebx
call fcn.0043d1f7
add esp, 0x11c
ret
Function at 0x429210
Capabilities:
Create pipe
Create thread
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496ba0
push 0x43fa08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
call dword [eax + 0x14]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x429383
push 2
push 1
push ebx
lea ecx, [ebp - 0x24]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
mov edx, dword [ebp - 0x1c]
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x429383
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x429383
push 2
push ebx
push ebx
lea eax, [esi + 0x1c]
push eax
call edi
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x429383
push 2
push ebx
push ebx
lea edx, [esi + 0x18]
push edx
call edi
push eax
mov eax, dword [ebp - 0x28]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x429383
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00428d30
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
call fcn.00428d30
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00428f40
test eax, eax
je 0x429383
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00428d30
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00428d30
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00428d30
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
push ecx
push ebx
push esi
push 0x429170
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x429383
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004293aa
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4297e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x486046
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0x496bb8
xor eax, eax
mov edx, 0xf
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], eax
mov dword [esp + 4], esi
mov byte [esi + 0x14], al
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
mov dword [esp + 0x10], eax
mov byte [esi + 0x30], al
mov dword [esi + 0x74], edx
mov dword [esi + 0x70], eax
mov byte [esi + 0x60], al
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], eax
mov byte [esi + 0x7c], al
lea ecx, [esi + 0x94]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], eax
mov byte [ecx + 4], al
mov dword [esi + 0xc8], edx
mov dword [esi + 0xc4], eax
mov byte [esi + 0xb4], al
mov dword [esi + 0xe4], edx
mov dword [esi + 0xe0], eax
mov byte [esi + 0xd0], al
push eax
push 0x492e6c
mov byte [esp + 0x18], 6
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x54], eax
mov word [esi + 0x48], 0x1bb
call fcn.0040ae70
mov ecx, dword [esp + 8]
mov dword [esi + 0x4c], 0x84801000
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429e50
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4860d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
mov eax, dword [0x4ba8fc]
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x424], eax
mov ebx, ecx
mov dword [esp + 0x10], esi
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x434], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x2ee0
ja 0x429f49
mov edx, dword [ebx + 8]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x3ff
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.004073b0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 1
call fcn.00404a90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x434], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x429f49
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x429eb0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.004057f0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x434], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x429f83
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x424]
mov eax, edi
call fcn.0043d1f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42ab70
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x10
mov eax, dword [0x4ba8fc]
push esi
push 0xa
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
push 0x1004
push 0x400
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x42abb5
lea ecx, [esp + 4]
push ecx
call fcn.0043f954
add esp, 4
pop esi
mov ecx, dword [esp + 0xc]
call fcn.0043d1f7
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
call fcn.0043d1f7
add esp, 0x10
ret