joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x69be3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6ad6a4
mov dword [esp + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
push fcn.00516950
push fcn.005167e0
push 2
push 0x4d4
lea eax, [esi + 0x48]
push eax
mov byte [esp + 0x28], 2
call fcn.005b9dbb
lea ecx, [esi + 0x9f0]
mov byte [esp + 0x14], 3
call fcn.005167e0
lea ecx, [esi + 0xec4]
mov byte [esp + 0x14], 4
call fcn.0051c930
lea ecx, [esi + 0xf34]
mov byte [esp + 0x14], 5
call fcn.0051a260
mov dword [esi + 0x1e88], ebx
mov dword [esi + 0x1e84], ebx
mov dword [esi + 0x1e8c], ebx
mov dword [esi + 0x1e90], ebx
mov byte [esi + 0x1e9c], 0xff
mov byte [esi + 0x1e9d], bl
mov dword [esi + 0x1ea0], ebx
mov dword [esi + 0x1ea4], ebx
mov dword [esi + 0x1ea8], ebx
mov dword [esi + 0x1eac], ebx
lea eax, [esi + 0x1e9c]
mov byte [eax + 0x14], 0xff
mov byte [eax + 0x15], bl
add eax, 0x14
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
add eax, 0x14
mov byte [eax], 0xff
mov byte [eax + 1], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x1fe0]
mov byte [esp + 0x14], 7
mov dword [eax + 0x10], ebx
call fcn.00421bb0
mov byte [0x21e7246], bl
mov dword [0x21e7248], ebx
mov byte [0x21ea818], bl
mov dword [esi + 0x1e94], ebx
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x1edd], bl
mov dword [esi + 0x2094], ebx
mov byte [esi + 0x2090], bl
mov byte [esi + 0x1ed8], bl
mov byte [esi + 0x1ed9], bl
mov byte [esi + 0x1eda], 1
mov byte [esi + 0x1edb], 0xff
mov byte [esi + 0x1edc], 0xff
mov dword [esi + 0xc], 0x1f9
mov dword [esi + 0x10], 0x16b
mov dword [esi + 0x1e98], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ac9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac5d0
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4aca76
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4aca90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac680
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4acb16
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4acb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac730
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4acbb6
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4acbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac7e0
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4acc56
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4acc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac890
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4accf6
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4acd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, edi
sub esi, ebx
sar esi, 2
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a8860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004ac940
mov eax, dword [esp + 0x30]
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebx
je 0x4acd96
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4ace70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69bf41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, 1
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov dword [esi], 0x6ad770
mov dword [esp + 0x14], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
push fcn.0041dfc0
push 0x41d9e0
push 5
mov byte [esp + 0x20], al
push 0x10
lea eax, [esi + 0x44]
push eax
call fcn.005b9dbb
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 2
call fcn.005167e0
lea ecx, [esi + 0x568]
mov byte [esp + 0x14], 3
call fcn.005167e0
lea ecx, [esi + 0xa3c]
mov byte [esp + 0x14], 4
call fcn.005167e0
lea ecx, [esi + 0xf10]
mov byte [esp + 0x14], 5
call fcn.0051a260
or eax, 0xffffffff
mov dword [esi + 4], 0xf0
mov dword [esi + 8], 0xe1
mov dword [esi + 0xc], 0x1f9
mov dword [esi + 0x10], 0xf7
mov dword [esi + 0x1e60], eax
mov dword [esi + 0x1e64], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1e68], edi
mov dword [esi + 0x1e6c], edi
mov dword [esi + 0x1e70], edi
mov ecx, dword [0x21ea84c]
cmp ecx, edi
mov byte [esp + 0x14], 6
je 0x4acfaa
mov eax, dword [0x21ea850]
sub eax, ecx
sar eax, 2
cmp eax, edi
je 0x4acfaa
mov dword [esi + 0x1e6c], edi
mov eax, dword [0x21ea84c]
mov ecx, dword [0x21ea850]
cmp eax, ecx
je 0x4acfaa
mov edx, dword [esp + 8]
push edx
push edi
push edi
push ecx
push eax
call fcn.004ac9f0
add esp, 0x14
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4adc70
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x69c04a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov edi, 1
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebp
mov dword [esi], 0x6ad7c4
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 1
call fcn.005167e0
lea ecx, [esi + 0x50c]
mov byte [esp + 0x1c], 2
call fcn.005167e0
lea ecx, [esi + 0x9e0]
mov byte [esp + 0x1c], 3
call fcn.005167e0
mov eax, dword [0x6f355c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x64
mov dword [esi + 4], eax
mov eax, dword [0x6f3560]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x37
push 0x128
mov byte [esp + 0x20], 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xe1
mov dword [esi + 0x10], 0x77
mov dword [esi + 0xeb8], ebp
call fcn.005b8072
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x4add6f
lea eax, [ebx + 8]
push eax
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
call dword [sym.imp.user32.dll_SetRectEmpty]
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ebp
mov ecx, 0x41
xor eax, eax
lea edi, [ebx + 0x20]
rep stosd dword es:[edi], eax
mov dword [ebx + 0x124], ebp
mov edi, 1
jmp 0x4add71
xor ebx, ebx
mov dword [esi + 0xeb4], ebx
push 0x40
mov dword [ebx], 0xc
mov ecx, dword [esi + 0xeb4]
push 0xd2
mov dword [ecx + 4], 0x64
mov edx, dword [esi + 0xeb4]
push 0x35
push 0x75
add edx, 8
push edx
call dword [sym.imp.user32.dll_SetRect]
mov eax, dword [esi + 0xeb4]
add eax, 0x18
mov dword [eax], 0x75
mov dword [eax + 4], 0x35
mov eax, dword [0x703bfc]
push edi
push eax
mov ecx, 0x21ec34c
call fcn.00521870
push edi
mov ecx, 0x21ec34c
call fcn.00521e10
push edi
mov ecx, 0x21ec34c
call fcn.00521a50
mov ecx, 0x21ec34c
call fcn.00523c40
mov dword [0x84efa8], ebp
mov dword [0x703c18], edi
mov ecx, dword [esi + 0xeb4]
mov dword [ecx + 0x124], edi
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b6270
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69c66c
push eax
mov eax, dword [0x6f3558]
mov dword fs:[0], esp
sub esp, 0x108
test eax, eax
push ebx
mov ebx, ecx
je 0x4b62b6
push 0x80
push pe_nt_image_headers32
push str.time_pop.tga
push str.data_interface
lea ecx, [ebx + 0xfc]
call fcn.00538940
push 0x7034e0
push 0x104
lea eax, [esp + 0x10]
push eax
push 0x6a75d5
push 0x6adc3c
push str.INTERFACE
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4b631f
push esi
push edi
mov edi, str.TRUE
lea esi, [esp + 0x10]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
jne 0x4b6350
push 0x1980
call fcn.005b8072
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x114], 0
je 0x4b6348
mov ecx, eax
call fcn.004bf6b0
jmp 0x4b634a
push 0x1980
call fcn.005b8072
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x114], 1
je 0x4b6348
mov ecx, eax
call fcn.004bf6b0
jmp 0x4b634a
xor eax, eax
mov dword [ebx + 0xdc], eax
mov ecx, dword [esp + 0x10c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x4bc660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0x84f768
call fcn.004c48f0
test eax, eax
je 0x4bc675
xor eax, eax
pop ebx
ret
mov eax, dword [ebx + 0x9cc]
test eax, eax
je 0x4bc6bd
cmp dword [ebx + 0x10], 2
jge 0x4bc6bd
mov ecx, dword [0x21ebef8]
push 0x1c
call fcn.004256f0
test al, al
je 0x4bc6bd
push 0xd
call dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x447a0000
push 0x21f1d38
push 0x20
push 0
mov ecx, 0x21efa50
call fcn.0052a5b0
mov eax, 1
pop ebx
ret
mov eax, dword [0x6f355c]
cdq
sub eax, edx
push esi
mov esi, eax
mov eax, dword [0x6f3560]
cdq
sub eax, edx
push edi
mov edi, eax
mov eax, dword [ebx + 0x10]
sar esi, 1
sar edi, 1
sub esi, 0x80
sub edi, 0x80
cmp eax, 7
ja case.0x4bc6eb.4
jmp dword [eax*4 + 0x4bc750]
push edi
push esi
lea ecx, [ebx + 0x24]
call fcn.00516c20
test eax, eax
je case.0x4bc6eb.4
pop edi
pop esi
mov eax, 1
pop ebx
ret
push edi
push esi
lea ecx, [ebx + 0x24]
call fcn.00516c20
test eax, eax
je 0x4bc72e
pop edi
pop esi
mov eax, 1
pop ebx
ret
push edi
push esi
lea ecx, [ebx + 0x24]
call fcn.00516c20
test eax, eax
jne 0x4bc700
push edi
push esi
lea ecx, [ebx + 0x4f8]
call fcn.00516c20
test eax, eax
je case.0x4bc6eb.4
pop edi
pop esi
mov eax, 2
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4bdf00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
mov eax, dword [0x703a9c]
cmp eax, 5
ja case.0x4bdf2e.1
jmp dword [eax*4 + 0x4be13c]
mov eax, dword [str.INTERFACE_800X600]
mov ecx, dword [0x6abc2c]
mov edx, dword [0x6abc30]
mov dword [esp + 8], eax
mov eax, dword [0x6abc34]
mov dword [esp + 0xc], ecx
mov cx, word [0x6abc38]
mov word [esp + 0x18], cx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x4be07f
mov eax, dword [0x6abc18]
mov edx, dword [str.INTERFACE_1280X1024]
mov ecx, dword [0x6abc1c]
mov dword [esp + 0xc], eax
mov eax, dword [0x6abc24]
mov dword [esp + 8], edx
mov edx, dword [0x6abc20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x4be07b
mov ecx, dword [str.INTERFACE_1360X768]
mov edx, dword [0x6abc04]
mov eax, dword [0x6abc08]
mov dword [esp + 8], ecx
mov ecx, dword [0x6abc0c]
mov dword [esp + 0xc], edx
mov dx, word [0x6abc10]
mov dword [esp + 0x10], eax
mov al, byte [0x6abc12]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], dx
mov byte [esp + 0x1a], al
jmp 0x4be07f
mov ecx, dword [str.INTERFACE_1920X1200]
mov edx, dword [0x6abbf0]
mov eax, dword [0x6abbf4]
mov dword [esp + 8], ecx
mov ecx, dword [0x6abbf8]
mov dword [esp + 0xc], edx
mov edx, dword [0x6abbfc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jmp 0x4be07f
mov eax, dword [str.INTERFACE_1680X1050]
mov ecx, dword [0x6abbdc]
mov edx, dword [0x6abbe0]
mov dword [esp + 8], eax
mov eax, dword [0x6abbe4]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x6abbe8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x4be07f
mov eax, dword [0x6abbc8]
mov ecx, dword [0x6abbcc]
mov edx, dword [str.INTERFACE_1024X768]
mov dword [esp + 0xc], eax
mov ax, word [0x6abbd4]
mov dword [esp + 0x10], ecx
mov cl, byte [0x6abbd6]
mov dword [esp + 8], edx
mov edx, dword [0x6abbd0]
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], cl
mov dword [esp + 0x14], edx
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
push 0x7034e0
push 0x104
lea edx, [esp + 0x118]
push edx
push 0x6a75d5
push str.MINIMAP_POS_X
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x4be0bf
lea ecx, [esp + 0x110]
push ecx
call fcn.005b8a6a
add esp, 4
mov dword [esi + 4], eax
push 0x7034e0
push 0x104
lea edx, [esp + 0x118]
push edx
push 0x6a75d5
push str.MINIMAP_POS_Y
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x4be0f9
lea ecx, [esp + 0x110]
push ecx
call fcn.005b8a6a
add esp, 4
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
xor edx, edx
cmp ecx, edx
jge 0x4be107
mov dword [esi + 4], edx
jmp 0x4be116
mov eax, dword [0x6f355c]
sub eax, dword [esi + 0xc]
cmp ecx, eax
jle 0x4be116
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
cmp ecx, edx
jge 0x4be126
mov dword [esi + 8], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6f3560]
sub eax, dword [esi + 0x10]
cmp ecx, eax
jle 0x4be135
mov dword [esi + 8], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4be3b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69cae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], edi
mov dword [esi], 0x6ae018
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
push fcn.0041dfc0
push 0x41d9e0
push 3
push 0x10
lea eax, [esi + 0xa4]
push eax
mov byte [esp + 0x28], 8
call fcn.005b9dbb
mov dword [esi + 0xd8], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
lea ecx, [esi + 0xec]
mov byte [esp + 0x14], 0xa
call fcn.005167e0
lea ecx, [esi + 0x5c0]
mov byte [esp + 0x14], 0xb
call fcn.005167e0
lea ecx, [esi + 0xa94]
mov byte [esp + 0x14], 0xc
call fcn.005167e0
mov dword [esi + 0x20], 1
mov ecx, dword [0x6f355c]
add ecx, 0xffffff00
mov dword [esi + 4], ecx
mov ecx, esi
mov byte [esp + 0x14], 0xd
mov dword [esi + 8], 0x80
mov dword [esi + 0xc], 0xb9
mov dword [esi + 0x10], 0x96
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xe8], edi
call fcn.004bd710
mov ecx, esi
call fcn.004bdf00
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4cd080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SOFTWARESONOVShaiya
push 0x80000002
mov dword [esp + 0x14], 0
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4cd107
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x6ae314
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x4cd107
cmp dword [esp + 4], 4
jne 0x4cd107
cmp dword [esp + 8], 4
jne 0x4cd107
mov eax, dword [esp]
test eax, eax
push ebx
mov bl, byte [esp + 0x10]
je 0x4cd100
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret
xor al, al
add esp, 0x10
ret

Function at 0x4cffc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push esi
push edi
push 0x7034e0
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x6a75d5
push str.SHOW_MESSAGE_PRIEST
push str.INTERFACE
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4d001e
mov edi, str.TRUE
lea esi, [esp + 8]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x7034e0
lea eax, [esp + 0xc]
push eax
push str.SHOW_MESSAGE_PRIEST
push str.INTERFACE
call dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d0520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69ce5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, 1
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov dword [esi], 0x6ae82c
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push fcn.00516950
push fcn.005167e0
push 7
mov byte [esp + 0x20], al
push 0x4d4
lea eax, [esi + 0x38]
push eax
call fcn.005b9dbb
lea ecx, [esi + 0x2204]
mov byte [esp + 0x14], 2
call fcn.0051c930
lea ecx, [esi + 0x2274]
mov byte [esp + 0x14], 3
call fcn.0051a260
mov dword [esi + 0x31c4], edi
xor eax, eax
lea edi, [esi + 0x31ca]
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret