joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4285bd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e34c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00425b4a
mov dword [ebp - 0x14], eax
cmp dword [0x4432e4], esi
jne 0x4286b0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42863d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x428790
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x428790
push 0x4336d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428790
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4432e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4432e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4432ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4432f4], eax
test eax, eax
je 0x4286ad
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4432f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4286d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4286c8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4286ea
push 4
pop eax
jmp 0x428792
cmp dword [ebp - 0x14], esi
je 0x4286ea
push dword [0x4432e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4286cf
mov eax, dword [0x4432f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x428748
cmp dword [0x4432f4], edi
je 0x428748
push eax
call ebx
push dword [0x4432f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x428748
test eax, eax
je 0x428748
call ecx
test eax, eax
je 0x42873d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42873d
test byte [ebp - 8], 1
jne 0x428748
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x428778
mov eax, dword [0x4432e8]
cmp eax, edi
je 0x428775
push eax
call ebx
test eax, eax
je 0x428775
call eax
mov esi, eax
test esi, esi
je 0x428775
mov eax, dword [0x4432ec]
cmp eax, edi
je 0x428775
push eax
call ebx
test eax, eax
je 0x428775
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4432e4]
call ebx
test eax, eax
je 0x428790
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x428792
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042116e
mov esp, ebp
pop ebp
ret
Function at 0x401100
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a3ae7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4b1698
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], 0x14
call fcn.00495f55
lea ecx, [esi + 0x54]
mov byte [esp + 0x10], 0x13
call fcn.00495f55
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 0x12
call fcn.00495f55
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0x11
call fcn.00495f55
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0x10
call fcn.00495f55
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0xf
call fcn.00495f55
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xe
call fcn.00495f55
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xd
call fcn.00495f55
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xc
call fcn.00495f55
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xb
call fcn.00495f55
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call fcn.00495f55
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call fcn.00495f55
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call fcn.00495f55
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call fcn.00495f55
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call fcn.00495f55
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 5
call fcn.00495f55
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 4
call fcn.00495f55
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 3
call fcn.00495f55
mov byte [esp + 0x10], 2
lea ecx, [esi + 0x10]
call fcn.00495f55
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.00495f55
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.00495f55
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00495f55
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401450
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a3c7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4b169c
lea ecx, [esi + 0x8c]
mov dword [esp + 0x10], 0x21
call fcn.00495f55
lea ecx, [esi + 0x88]
mov byte [esp + 0x10], 0x20
call fcn.00495f55
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0x1f
call fcn.00495f55
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 0x1e
call fcn.00495f55
lea ecx, [esi + 0x7c]
mov byte [esp + 0x10], 0x1d
call fcn.00495f55
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 0x1c
call fcn.00495f55
lea ecx, [esi + 0x74]
mov byte [esp + 0x10], 0x1b
call fcn.00495f55
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0x1a
call fcn.00495f55
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0x19
call fcn.00495f55
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0x18
call fcn.00495f55
lea ecx, [esi + 0x64]
mov byte [esp + 0x10], 0x17
call fcn.00495f55
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0x16
call fcn.00495f55
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0x15
call fcn.00495f55
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 0x14
call fcn.00495f55
mov byte [esp + 0x10], 0x13
lea ecx, [esi + 0x54]
call fcn.00495f55
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 0x12
call fcn.00495f55
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0x11
call fcn.00495f55
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0x10
call fcn.00495f55
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0xf
call fcn.00495f55
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xe
call fcn.00495f55
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xd
call fcn.00495f55
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xc
call fcn.00495f55
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xb
call fcn.00495f55
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call fcn.00495f55
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call fcn.00495f55
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call fcn.00495f55
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call fcn.00495f55
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call fcn.00495f55
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 5
call fcn.00495f55
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 4
call fcn.00495f55
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 3
call fcn.00495f55
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call fcn.00495f55
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.00495f55
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.00495f55
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00495f55
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403180
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a421b
push eax
mov eax, 0x2814
mov dword fs:[0], esp
call fcn.00459050
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push str.Outlook
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
mov ebp, eax
mov eax, dword [esp + 0x2838]
push SysReAllocString
push 0
push 0
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, 1
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x10], esi
call fcn.0049ac67
mov ecx, dword [esp + 0x2838]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2838], 0
call fcn.0049ad79
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x40324a
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push 0x2800
push eax
push edi
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x403246
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049aed0
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x403213
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebp
call edi
lea ecx, [esp + 0x14]
call fcn.0049af94
test esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x282c], 0xffffffff
setne bl
call fcn.0049acbc
mov ecx, dword [esp + 0x2824]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2820
ret 8
Function at 0x4099f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00409d00
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x4d5fb8
call fcn.0045943a
mov ecx, dword [0x4b1904]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00404ca0
mov esi, 0x4b1940
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x409a97
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x409a8e
cmp al, 0xff
je 0x409a8e
dec al
mov byte [ecx], al
jmp 0x409a97
push ecx
call fcn.00495cbf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00474ce0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x409add
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x409ad4
cmp al, 0xff
je 0x409ad4
dec al
mov byte [ecx], al
jmp 0x409add
push ecx
call fcn.00495cbf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004594c1
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x40bdc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._app_app.php_aid1062
call fcn.00495fc3
push ecx
mov dword [esp + 0x2c], 0
mov ecx, esp
mov dword [esp + 0x20], esp
push str.www.kaixin001.com
call fcn.00495fc3
lea edi, [esi + 0x5c]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call fcn.00416700
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.house_garden_index.php
mov dword [esp + 0x2c], ebx
call fcn.00495fc3
push ecx
mov byte [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.www.kaixin001.com
call fcn.00495fc3
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
push ecx
mov ecx, edi
call fcn.00416700
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0049608e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00495f55
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00495cca
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00416e00
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [esp + 0x28], 4
call fcn.0049608e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00495f55
push 0x4cc6dc
mov ecx, edi
call fcn.00493dd9
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.00493d3f
mov byte [esp + 0x24], 5
push eax
lea ecx, [esi + 0x184]
call fcn.0049608e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00495f55
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00495f55
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x40d150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4cbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 2
call fcn.0041cee0
mov eax, dword [0x4d14fc]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
push str.verify_stuid_sroomid_s
push ecx
mov byte [esp + 0x4c], 4
call fcn.0049415f
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00495cca
push ecx
mov byte [esp + 0x40], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push str.house_driveaway.php
call fcn.00495fc3
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.www.kaixin001.com
call fcn.00495fc3
lea eax, [esp + 0x14]
lea ecx, [esi + 0x5c]
push eax
mov byte [esp + 0x48], 4
call fcn.00416b20
add esi, 0x184
push 0x4cc8ec
lea ecx, [esp + 0x18]
push esi
push ecx
mov byte [esp + 0x44], 7
call fcn.004961ea
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x3c], 8
call fcn.00493dd9
lea ecx, [esp + 0x14]
mov edi, eax
mov byte [esp + 0x38], 7
call fcn.00495f55
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
lea eax, [eax + edi + 1]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00493c2d
mov edx, dword [esp + 0x10]
push 0x4cc618
mov byte [esp + 0x3c], 9
push edx
call fcn.00458f09
mov esi, dword [esp + 0x48]
add esp, 8
neg eax
sbb eax, eax
lea ecx, [esi + 8]
inc eax
mov dword [esp + 0x28], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x2c]
push eax
call fcn.00495cca
mov dword [esi], 0x4b1a74
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 7
call fcn.00495f55
lea ecx, [esp + 8]
mov byte [esp + 0x38], 4
call fcn.00495f55
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call fcn.00495f55
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0041cf40
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 1
call fcn.00495f55
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0
call fcn.00495f55
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 0xc
Function at 0x414580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a5298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004146a0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x4d5fb8
call fcn.0045943a
mov ecx, dword [0x4b1904]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00404ca0
mov esi, 0x4b1940
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x414627
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41461e
cmp al, 0xff
je 0x41461e
dec al
mov byte [ecx], al
jmp 0x414627
push ecx
call fcn.00495cbf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00474ce0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x41466d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x414664
cmp al, 0xff
je 0x414664
dec al
mov byte [ecx], al
jmp 0x41466d
push ecx
call fcn.00495cbf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004594c1
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x415a10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a53e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ecx + 0x47c]
xor ebx, ebx
xor eax, eax
cmp esi, ebx
push edi
mov dword [esp + 0xc], ebx
jle 0x415a4c
lea edx, [ecx + 0x48]
cmp dword [edx], ebx
je 0x415ab4
inc eax
add edx, 0x4c
cmp eax, esi
jl 0x415a40
lea ecx, [esp + 0x14]
call fcn.004158b0
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x6c], 0xc
lea ecx, [esi + 4]
call fcn.00415bf0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x44], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], edx
mov dword [esi], 0x4b1aa8
mov dword [esp + 0xc], 1
mov byte [esp + 0x68], bl
call fcn.004158f0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 4
lea edx, [eax + eax*8]
mov ebx, dword [esp + 0x70]
lea edx, [eax + edx*2]
lea edi, [ebx + 4]
mov dword [esp + 0x10], edi
lea esi, [ecx + edx*4]
lea edx, [eax + eax*8 + 9]
lea edx, [eax + edx*2 + 1]
mov dword [esi + 0x48], 1
mov dword [ecx + edx*4], eax
mov dword [ecx + 0x478], eax
lea eax, [esi + 0xc]
lea ecx, [edi + 4]
push eax
call fcn.00495cca
lea ecx, [esi + 0x10]
mov dword [esp + 0x68], 1
push ecx
lea ecx, [edi + 8]
call fcn.00495cca
lea edx, [esi + 0x14]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x6c], 2
call fcn.00495cca
lea eax, [esi + 0x18]
lea ecx, [edi + 0x10]
push eax
mov byte [esp + 0x6c], 3
call fcn.00495cca
lea ecx, [esi + 0x1c]
mov byte [esp + 0x68], 4
push ecx
lea ecx, [edi + 0x14]
call fcn.00495cca
lea edx, [esi + 0x20]
lea ecx, [edi + 0x18]
push edx
mov byte [esp + 0x6c], 5
call fcn.00495cca
lea eax, [esi + 0x24]
lea ecx, [edi + 0x1c]
push eax
mov byte [esp + 0x6c], 6
call fcn.00495cca
lea ecx, [esi + 0x28]
mov byte [esp + 0x68], 7
push ecx
lea ecx, [edi + 0x20]
call fcn.00495cca
lea edx, [esi + 0x2c]
lea ecx, [edi + 0x24]
push edx
mov byte [esp + 0x6c], 8
call fcn.00495cca
lea eax, [esi + 0x30]
lea ecx, [edi + 0x28]
push eax
mov byte [esp + 0x6c], 9
call fcn.00495cca
lea ecx, [esi + 0x34]
mov byte [esp + 0x68], 0xa
push ecx
lea ecx, [edi + 0x2c]
call fcn.00495cca
lea edx, [esi + 0x38]
lea ecx, [edi + 0x30]
push edx
mov byte [esp + 0x6c], 0xb
call fcn.00495cca
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x40]
mov dword [edi + 0x38], ecx
mov dword [edi], 0x4b1ab0
mov edx, dword [esi + 0x44]
mov dword [ebx + 0x40], edx
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x44], eax
mov ecx, dword [esi + 0x4c]
mov dword [ebx + 0x48], ecx
mov dword [ebx], 0x4b1aa8
mov ecx, dword [esp + 0x60]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4
Function at 0x415bf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a5479
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00495cca
lea ecx, [edi + 8]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esi + 8]
call fcn.00495cca
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 1
call fcn.00495cca
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 2
call fcn.00495cca
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 3
push ecx
lea ecx, [esi + 0x14]
call fcn.00495cca
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x18], 4
call fcn.00495cca
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x18], 5
call fcn.00495cca
lea ecx, [edi + 0x20]
mov byte [esp + 0x14], 6
push ecx
lea ecx, [esi + 0x20]
call fcn.00495cca
lea edx, [edi + 0x24]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x18], 7
call fcn.00495cca
lea eax, [edi + 0x28]
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0x18], 8
call fcn.00495cca
lea ecx, [edi + 0x2c]
mov byte [esp + 0x14], 9
push ecx
lea ecx, [esi + 0x2c]
call fcn.00495cca
lea edx, [edi + 0x30]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x18], 0xa
call fcn.00495cca
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov dword [esi], 0x4b1ab0
mov eax, esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x416490
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a5538
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4165f1
mov eax, dword [0x4d14fc]
push ebp
push edi
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push ecx
mov dword [esp + 0x40], 0
call ebp
mov dword [esp + 0x18], eax
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1d], edx
push 0xa
push eax
mov dword [esp + 0x29], edx
push 0xc
push 0x400
mov byte [esp + 0x2c], 0
mov byte [esp + 0x35], dl
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
call fcn.00495fc3
mov edx, dword [esp + 0xc]
mov byte [esp + 0x30], 1
mov eax, dword [edx - 8]
test eax, eax
jne 0x416532
push 0x3b
lea ecx, [esp + 0x10]
call fcn.00493a30
lea ecx, [esp + 0xc]
call fcn.00494172
push 0x20
lea ecx, [esp + 0x10]
call fcn.00496358
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x4165bc
mov eax, dword [esi + 0x1c]
push 0
push edi
push 0x150
push eax
call ebp
test eax, eax
je 0x4165b3
mov ecx, dword [0x4d14fc]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push edi
mov byte [esp + 0x38], 2
call fcn.0049e8e4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x416597
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0049636d
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0049636d
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00495f55
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x416550
lea eax, [esp + 0x10]
lea ecx, [esi + 0x40]
push eax
call fcn.0049608e
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], 1
mov byte [esp + 0x30], 0
call fcn.00495f55
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00495f55
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret