joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a210
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x2dc
push ebx
push ebp
push esi
xor esi, esi
xor ebp, ebp
test eax, eax
mov ebx, 1
je 0x40a231
mov byte [esp + 0xf], 0
jmp 0x40a25c
lea eax, [esp + 0x2f8]
push eax
push 0x20019
push 0
push str.Enum
push reloc.WS2_32.dll_bind
mov byte [esp + 0x23], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a400
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x300]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.class
push ecx
mov dword [esp + 0x2c], 0x40
call edi
test eax, eax
jne 0x40a32a
cmp dword [esp + 0x18], ebx
jne 0x40a32a
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00557560
add esp, 8
test eax, eax
jne 0x40a32a
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x300]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.driver
push ecx
mov dword [esp + 0x2c], 0x80
call edi
test eax, eax
jne 0x40a32a
cmp dword [esp + 0x18], ebx
jne 0x40a32a
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1f0]
push str.SystemCurrentControlSetServicesClass_s
push eax
call fcn.00550730
mov ecx, dword [esp + 0x300]
add esp, 0xc
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x1f8]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a32a
mov esi, ebx
mov edi, dword [esp + 0x2f8]
cmp edi, esi
jle 0x40a3ff
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x300]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x100]
push edx
push 0
push eax
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
jne 0x40a3ff
mov eax, dword [esp + 0x2fc]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
lea edx, [esp + 0xf8]
push edx
push eax
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a3cc
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2f4]
push ecx
mov edx, edi
sub edx, esi
push edx
mov edx, dword [esp + 0x2f8]
lea ecx, [eax + esi*4]
push ecx
push edx
call fcn.0040a210
add esi, eax
mov eax, dword [esp + 0x30]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x300]
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x100]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x40a373
pop edi
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x40a41a
mov cl, byte [esp + 0xf]
test cl, cl
je 0x40a41a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x40ae50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push edi
lea ebx, [esi + 0x34]
push ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, edx
test eax, eax
jbe 0x40aee2
mov edx, dword [esi + 0x20]
push ebp
mov ebp, dword [esi + 0x28]
mov eax, ecx
shr eax, 3
shl eax, 2
mov ebx, dword [edx + eax]
sub ebp, ebx
mov ebx, dword [esi + 0x24]
mov dword [esi + 0x28], ebp
mov ebx, dword [ebx + eax]
mov ebp, dword [esi + 0x1c]
xor ebx, dword [ebp + ecx*4]
mov ebp, dword [edx + eax]
sub ebp, ebx
mov ebx, dword [esp + 0x18]
mov dword [edx + eax], ebp
mov ebp, dword [ebx + edi*4]
mov edx, dword [esi + 0x24]
mov edx, dword [edx + eax]
xor edx, ebp
mov ebp, dword [esi + 0x1c]
mov dword [ebp + ecx*4], edx
mov edx, dword [esi + 0x20]
mov ebx, dword [ebx + edi*4]
mov ebp, dword [edx + eax]
add edx, eax
add ebp, ebx
mov dword [edx], ebp
mov edx, dword [esi + 0x20]
mov eax, dword [edx + eax]
mov ebx, dword [esi + 0x28]
add ebx, eax
mov eax, dword [esp + 0x1c]
inc edi
inc ecx
cmp edi, eax
mov dword [esi + 0x28], ebx
jb 0x40ae78
mov ebx, dword [esp + 0xc]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop ecx
ret 0xc

Function at 0x40b6b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x884634]
sub esp, 0x210
test eax, eax
je 0x40b704
mov edx, dword [eax + edi*8 + 0x26d5c]
push ebx
push esi
lea ecx, [esp + 8]
push ecx
push edx
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov eax, dword [esp + 8]
push eax
push edi
lea ecx, [esp + 0x20]
push str.Slot___d_gold___d_n
push ecx
call fcn.00550730
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
add esp, 0x210
ret
Function at 0x40bd80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x56348e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x124], 2
mov ebp, dword [esp + 0x134]
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [0x90853c]
mov edi, dword [esp + 0x130]
push eax
push 0x100
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov ebx, dword [esp + 0x138]
jne 0x40be6a
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.004184f0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x12c], 3
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.004184f0
add eax, 0x10
mov dword [esi], eax
push ecx
lea eax, [edi - 0x10]
mov byte [esp + 0x130], 4
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.004184f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x130], 2
call fcn.0040bf00
add esp, 0xc
test eax, eax
je 0x40be6a
lea edx, [esp + 0x1c]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40be60
mov esi, dword [esp + 0x12c]
push esi
lea ecx, [esp + 0x20]
call fcn.00407c80
add edi, 0xfffffff0
mov byte [esp + 0x124], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40be9d
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebp, 0xfffffff0
mov byte [esp + 0x124], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bec0
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x124], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bee5
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret
Function at 0x40bf80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x88
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareSoftnyxGunBoundWC
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c1b1
mov ecx, dword [0x884634]
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 4
add ecx, 0x1e5c4
push ecx
push 4
push eax
push str.LastServer
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8d3728
push 3
push 0
push str.ShootingMode
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x8d372c
push 4
push 0
push str.MouseSpeed
push ecx
call esi
mov al, byte [0x8d3730]
mov ecx, dword [esp + 8]
push 1
test al, al
lea eax, [esp + 0x13]
push eax
push 3
push 0
push str.MidiMode
sete dl
push ecx
mov byte [esp + 0x27], dl
call esi
mov edx, dword [esp + 8]
push 4
push 0x8d3734
push 4
push 0
push str.MusicVolume
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x8d3738
push 4
push 0
push str.EffectVolume
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x8845a0
push 4
push 0
push str.AutoRefresh
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8d373e
push 3
push 0
push str.Effect3D
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8d373f
push 3
push 0
push str.Background
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x8d373c
push 3
push 0
push str.MusicUse
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8d373d
push 3
push 0
push str.EffectUse
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8fdbd1
push 3
push 0
push str.ShowTurn
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x8fdbd0
push 3
push 0
push str.ShowMoon
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8fee7c
push 3
push 0
push str.ShowOnlineUser
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8feeb4
push 3
push 0
push str.InterfaceMode
push eax
call esi
mov eax, 0x884518
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c130
sub eax, ecx
mov ecx, dword [esp + 8]
inc eax
push eax
push 0x884518
push 3
push 0
push str.GameName
push ecx
call esi
mov eax, 0x882c38
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c158
mov edx, dword [esp + 8]
sub eax, ecx
inc eax
push eax
push 0x882c38
push 3
push 0
push str.ChannelName
push edx
call esi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push 3
push 0
push str.LastID
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x88
ret
Function at 0x412f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x564632
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebp, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push 1
mov dword [edi + 8], ebp
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], ebx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov dword [esp + 0x20], ebx
push 1
mov dword [edi + 0x10], ebp
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov byte [esp + 0x20], 1
push 1
mov dword [edi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [edi + 0x1c], eax
mov byte [esp + 0x1c], bl
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov byte [esp + 0x20], 2
push 1
mov dword [edi + 0x20], ebp
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov byte [esp + 0x20], 3
push 1
mov dword [edi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea ecx, [esp + 0x14]
mov dword [edi + 0x2c], eax
mov byte [esp + 0x14], bl
push ecx
push eax
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov byte [esp + 0x20], 4
push 1
mov dword [edi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [edi + 0x34], eax
mov byte [esp + 0x1c], bl
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov byte [esp + 0x20], 5
push 1
mov dword [edi + 0x38], ebp
call fcn.004cc430
mov ecx, eax
call fcn.0040aef0
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [edi + 0x3c], eax
mov dword [esp + 0x20], ebx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4130e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x564632
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esp + 0x14], 5
mov eax, dword [esi + 0x3c]
push 1
mov ebx, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push eax
mov dword [esi + 0x38], ebx
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov byte [esp + 0x14], 4
mov ecx, dword [esi + 0x34]
push 1
push ecx
mov dword [esi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov byte [esp + 0x14], 3
mov edx, dword [esi + 0x2c]
push 1
push edx
mov dword [esi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x24]
push 1
push eax
mov dword [esi + 0x20], ebx
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x1c]
push 1
push ecx
mov dword [esi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov byte [esp + 0x14], 0
mov edx, dword [esi + 0x14]
push 1
push edx
mov dword [esi + 0x10], ebx
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 0xc]
push 1
push eax
mov dword [esi + 8], ebx
call fcn.004cc430
mov edi, eax
call fcn.0040af50
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x413a70
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x8849a0]
cmp esi, eax
je 0x413c48
mov ecx, dword [0x8849e0]
push ebx
xor ebx, ebx
cmp ecx, ebx
jne 0x413c47
mov ecx, dword [eax*4 + 0x8845a8]
mov byte [0x906f31], bl
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, 0x908514
call fcn.0052dc20
mov ecx, 0x9085e0
mov dword [0x90851c], ebx
mov dword [0x908520], ebx
mov dword [0x9085e8], ebx
call fcn.0052dc20
push 0x2710
mov eax, 0x900368
call fcn.004c4e20
cmp esi, 0xf
jne 0x413b0f
push str.SoftnyxGunBound.gme
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413b05
cmp esi, ebx
je 0x413b05
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
pop esi
ret
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_gamelist_buddyup
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_gamelist_buddydown
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_gamelist_channelup
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_gamelist_channeldown
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_buddy_up
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_buddy_down
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_buddy_exit
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.b_error_confirm
call fcn.00402f90
mov ecx, dword [0x884634]
add ecx, 0x4f004
mov eax, str.cursor
call fcn.00402f90
mov ebx, dword [0x884634]
push str.cursor
add ebx, 0x4f004
call fcn.00403010
push str.normal
mov ecx, 0x887370
mov dword [0x88738c], eax
call fcn.0046fb70
mov eax, 0x900368
call fcn.004c4ee0
mov ecx, dword [esi*4 + 0x8845a8]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov dword [0x8849a0], esi
call fcn.0052d280
mov al, byte [0x8849a4]
test al, al
je 0x413c33
pop ebx
mov byte [0x8849a4], 0
pop esi
ret
mov dword [0x5e1224], 0xa
mov dword [0x8849a8], 0xffffffff
pop ebx
pop esi
ret
Function at 0x418bf0
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x564632
push eax
mov dword fs:[0], esp
mov al, byte [ebx]
push esi
mov esi, dword [esp + 0x14]
mov byte [esi], al
mov ecx, dword [ebx + 4]
push edi
mov dword [esi + 4], ecx
lea ecx, [ebx + 8]
lea edi, [esi + 8]
call fcn.00417a40
lea ecx, [ebx + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x10], 0
call fcn.00417a40
lea ecx, [ebx + 0x18]
lea edi, [esi + 0x18]
mov byte [esp + 0x10], 1
call fcn.00418da0
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00417a40
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00418da0
lea ecx, [ebx + 0x30]
lea edi, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00418da0
lea ecx, [ebx + 0x38]
lea edi, [esi + 0x38]
mov byte [esp + 0x10], 5
call fcn.00417a40
mov dl, byte [ebx + 0x40]
mov ecx, dword [esp + 8]
mov byte [esi + 0x40], dl
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x418ca0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5647fb
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov edi, esi
call fcn.00418da0
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0xc]
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
call fcn.00417a40
lea ecx, [ebx + 0x14]
lea edi, [esi + 0x14]
mov byte [esp + 0x10], 1
call fcn.00417a40
mov byte [esp + 0x10], 2
mov cl, byte [ebx + 0x1c]
mov byte [esi + 0x1c], cl
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
call fcn.00418da0
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00418da0
mov byte [esp + 0x10], 4
mov dl, byte [ebx + 0x30]
lea ecx, [ebx + 0x34]
lea edi, [esi + 0x34]
mov byte [esi + 0x30], dl
call fcn.00417a40
lea ecx, [ebx + 0x3c]
lea edi, [esi + 0x3c]
mov byte [esp + 0x10], 5
call fcn.00418da0
lea ecx, [ebx + 0x44]
lea edi, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.00417a40
lea ecx, [ebx + 0x4c]
lea edi, [esi + 0x4c]
mov byte [esp + 0x10], 7
call fcn.00418da0
lea ecx, [ebx + 0x54]
lea edi, [esi + 0x54]
mov byte [esp + 0x10], 8
call fcn.00418da0
lea ecx, [ebx + 0x5c]
lea edi, [esi + 0x5c]
mov byte [esp + 0x10], 9
call fcn.00417a40
mov al, byte [ebx + 0x64]
mov ecx, dword [esp + 8]
mov byte [esi + 0x64], al
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x444050
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56879b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
mov ebx, dword [eax + 8]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
call fcn.004cc430
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x4440a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ebx
mov ecx, eax
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [esi + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x444134
push 0x64
call fcn.005493ed
add esp, 4
mov dword [esp + 0x28], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x4440e8
push eax
call fcn.004a6ef0
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
mov ebx, dword [0x884634]
push str.thor
add ebx, 0x4f004
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
call fcn.00403010
mov edx, dword [esi]
push str.normal
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x884634]
push esi
add ecx, 0x772d0
call fcn.0052db70
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4480a0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x80
push edi
push 0x80
lea eax, [esp + 8]
push eax
xor edi, edi
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x4480cb
mov dword [esi + 4], edi
mov dword [esi], edi
pop edi
add esp, 0x80
ret
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x448128
mov edx, dword [eax + 0xc]
cmp dword [edx], 0
je 0x448128
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov edx, dword [ecx + edx]
mov dl, byte [edx]
mov byte [ecx + esi + 4], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov dl, byte [edx + 1]
mov byte [ecx + esi + 5], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov dl, byte [edx + 2]
mov byte [ecx + esi + 6], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov dl, byte [edx + 3]
mov byte [ecx + esi + 7], dl
mov edx, dword [eax + 0xc]
inc edi
lea ecx, [edi*4]
cmp dword [ecx + edx], 0
jne 0x4480e4
mov dword [esi], edi
pop edi
add esp, 0x80
ret
Function at 0x44c2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x563368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0xffffffff
xor ecx, ecx
mov dword [eax + 0x1c], ecx
mov edi, 0xf
mov dword [eax + 0x20], edi
mov byte [eax + 0xc], cl
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0xa0], esp
push eax
push ecx
lea ebx, [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.0044ebb0
add esp, 0x2c
xor ebx, ebx
push eax
mov dword [esp + 0x78], ebx
call fcn.0044c2a0
push 0xffffffffffffffff
mov byte [esp + 0x78], 1
push ebx
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004024f0
mov eax, dword [esp + 0x44]
mov esi, 0x10
cmp eax, esi
jb 0x44c372
mov eax, dword [esp + 0x30]
push eax
call fcn.00551882
add esp, 4
mov byte [esp + 0x74], 3
cmp dword [esp + 0x68], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x44c396
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00551882
add esp, 4
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jae 0x44c3b0
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.00401c30
mov edi, eax
cmp dword [esp + 0x28], esi
jb 0x44c3cd
mov edx, dword [esp + 0x14]
push edx
call fcn.00551882
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4