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

Disassembly:
push 0xffffffffffffffff
push 0x588b10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
mov ebp, dword [eax]
add ebx, 4
mov edi, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
lea ecx, [ecx]
test edi, edi
mov esi, dword [ebx + 4]
je 0x460fab
cmp edi, ebx
je 0x460fb0
call fcn.00565fa7
cmp ebp, esi
je 0x4610d4
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
test edi, edi
mov byte [esp + 0x28], 1
jne 0x460fdc
call fcn.00565fa7
cmp ebp, dword [edi + 4]
jne 0x460fe6
call fcn.00565fa7
cmp ebp, dword [edi + 4]
mov esi, dword [ebp + 0x10]
jne 0x460ff3
call fcn.00565fa7
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x461074
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push ebp
lea ecx, [esp + 0x3c]
call fcn.00461130
test eax, eax
je 0x461074
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x14]
jne 0x46102f
lea eax, [esp + 0x30]
call fcn.00480f90
jmp 0x46103d
push esi
push 0x5aeb18
call fcn.004815b0
add esp, 8
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46105e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x18]
call fcn.0043fcc0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x460fa0
mov esi, dword [esp + 0x34]
push esi
mov ecx, 0x5adcfc
call fcn.00481430
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4610a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4610d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x46110e
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
mov eax, esi
call fcn.00481090
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46110c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x466180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58bc00
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
mov ecx, str.runtype
mov dword [esp + 0x24], 0
call fcn.00481430
lea eax, [edi + 0x58]
lea esi, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.004764f0
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
lea ecx, [edi + 0x30]
mov byte [esp + 0x24], 1
call fcn.0047db80
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46620b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x5894e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5adcfc
call fcn.00481430
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.0044ea70
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4666ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jne 0x4666e8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4666d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466711
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0xc
Function at 0x468d50
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x58bae8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov esi, edx
lea edi, [esi + 0x18]
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x30], 0
call fcn.00480130
push edi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x34], 0
je 0x468dfa
lea eax, [esp + 0x18]
add esi, 0x68
push eax
call fcn.00468e10
mov edi, dword [esp + 0x18]
test edi, edi
mov ebx, dword [esi + 4]
je 0x468dd1
cmp edi, esi
je 0x468dd6
call fcn.00565fa7
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x468dfa
test edi, edi
jne 0x468de7
call fcn.00565fa7
cmp esi, dword [edi + 4]
jne 0x468df1
call fcn.00565fa7
push ebp
lea ecx, [esi + 0x18]
call fcn.0046aad0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x588158
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, str.index
call fcn.00481430
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [esi + 0x30]
lea edi, [esp + 0x10]
call fcn.0047dce0
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468f66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x46c140
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x58ba58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.0047bc80
add esp, 4
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x46c1b8
push 0x15
push str.ressrcchsuplive.svr
lea edx, [esp + 0x14]
push edx
call fcn.00473c80
mov eax, dword [esp + 0xc]
push eax
push 0
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x46c218
lea ecx, [esp + 0x10]
push ecx
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREKingsoftKISCommonUpdate
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c1e8
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.TryNo
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x46c218
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x46de40
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58edc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, 0x5adcfc
call fcn.00481430
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0046df80
mov byte [esp + 0x30], 2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46deae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.lastsubtab
call fcn.00481430
mov ecx, 0x5f86a0
mov byte [esp + 0x30], 3
call fcn.00468ef0
lea edx, [esp + 0x14]
test edx, edx
je 0x46dedc
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x46dee6
mov dword [esp + 0x14], 0xd
jmp 0x46df05
mov edx, dword [esp + 0xc]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46df2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46df49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46df69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x46fe10
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x588858
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], 0x44
call fcn.005695a0
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x80], 0
call fcn.0046ff10
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x46fec6
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46feea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 8
Function at 0x470e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5887f9
mov eax, dword fs:[0]
push eax
push ebp
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov eax, dword [ebp]
sub eax, 0x10
call fcn.00481090
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x20]
push edi
push eax
mov dword [esp + 0x1c], 0
push ebx
mov dword [esp + 0x30], 1
call fcn.0047b850
test eax, eax
je 0x470ebf
cmp dword [ebx], 2
jne 0x470ec6
mov eax, ebp
call fcn.00480f90
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0xc
ret 0xc

Function at 0x471d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ed20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x471e2a
mov edx, dword [edx]
cmp dword [edx - 0xc], 8
jne 0x471e2a
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
lea eax, [esp + 0x20]
call fcn.00471e90
mov esi, eax
cmp esi, edi
je 0x471e02
cmp dword [esp + 0xc], edi
jle 0x471e02
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0xc]
push esi
lea eax, [esp + 0x14]
call fcn.00472930
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004796e0
add eax, 0x10
mov dword [ebx], eax
lea eax, [esp + 0x10]
call fcn.0049c1f0
lea esi, [esp + 0x14]
call fcn.00471e50
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x5acd47
call fcn.00481970
lea esi, [esp + 0x14]
call fcn.00471e50
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x5acd47
call fcn.00481970
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x472720
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x4727a0
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5ef538]
or ecx, dword [ebx*4 + 0x5ef738]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5ef938]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efb38]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5ef638]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5ef838]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5efa38]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5efc38]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5ef538]
or ecx, dword [ebx*4 + 0x5ef738]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5ef938]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efb38]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5ef638]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5ef838]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5efa38]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5efc38]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x4727a0
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret 4
Function at 0x4729c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ed20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x472aca
mov edx, dword [edx]
cmp dword [edx - 0xc], 8
jne 0x472aca
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
lea eax, [esp + 0x20]
call fcn.00472af0
mov esi, eax
cmp esi, edi
je 0x472aa2
cmp dword [esp + 0xc], edi
jle 0x472aa2
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0xc]
push esi
lea eax, [esp + 0x14]
call fcn.00472930
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004796e0
add eax, 0x10
mov dword [ebx], eax
lea eax, [esp + 0x10]
call fcn.0049c1f0
lea esi, [esp + 0x14]
call fcn.00471e50
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x5acd47
call fcn.00481970
lea esi, [esp + 0x14]
call fcn.00471e50
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x5acd47
call fcn.00481970
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x472da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x588791
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
sub eax, 0x10
call fcn.004796e0
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ebp, 1
mov dword [esp + 0x24], ebp
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov edi, dword [ebx - 0xc]
mov ecx, 0x5f7780
call eax
mov ecx, dword [esp + 0x2c]
lea esi, [eax + 0x10]
mov dword [ecx], esi
mov eax, edi
cdq
sub eax, edx
mov dword [esp + 0x14], ebp
mov ebp, eax
mov eax, dword [esi - 8]
sar ebp, 1
mov edx, 1
sub edx, dword [esi - 4]
lea ecx, [ebp + 1]
sub eax, ecx
or eax, edx
jge 0x472e35
mov eax, dword [esp + 0x2c]
call fcn.0044e310
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
xor esi, esi
test edi, edi
mov dword [esp + 0x30], eax
jle 0x472e5f
lea ecx, [esi + ebx]
call fcn.00472ee0
mov edx, dword [esp + 0x30]
mov ecx, esi
shr ecx, 1
add esi, 2
cmp esi, edi
mov byte [ecx + edx], al
jl 0x472e45
cmp ebp, 0xffffffff
mov esi, dword [esp + 0x2c]
jne 0x472e7d
mov ebp, dword [esi]
test ebp, ebp
je 0x472e81
lea ecx, [ebp + 1]
mov al, byte [ebp]
add ebp, 1
test al, al
jne 0x472e71
sub ebp, ecx
test ebp, ebp
jl 0x472ec8
mov eax, dword [esi]
cmp ebp, dword [eax - 8]
jg 0x472ec8
mov dword [eax - 0xc], ebp
mov eax, dword [esi]
add ebx, 0xfffffff0
mov byte [eax + ebp], 0
mov byte [esp + 0x24], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472eb2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.00473d10
int3
Function at 0x473860
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x589e88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
je 0x4739c9
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
cmp dword [eax - 0xc], esi
je 0x4739c9
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
cmp dword [eax - 0xc], esi
je 0x4738c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4738de
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
sub eax, 0x10
call fcn.00481090
mov ecx, eax
mov eax, dword [esp + 0x2c]
add ecx, 0x10
mov dword [eax], ecx
jmp 0x4739e2
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
sub eax, 0x10
call fcn.00481090
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
mov edi, 0x400
mov ebp, 0x802
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00548a37
mov esi, eax
add esp, 4
test esi, esi
je 0x47398d
push ebp
push 0
push esi
call fcn.005695a0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x40]
mov edx, dword [edx]
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx]
add esp, 0xc
push eax
push edi
push esi
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add eax, 1
cmp eax, edi
jb 0x473979
push esi
call fcn.005649af
add ebp, 0x800
add esp, 4
add edi, 0x400
cmp ebp, 0x5002
jl 0x473901
jmp 0x47398d
mov edx, esi
lea edi, [esp + 0x14]
call fcn.00481720
push esi
call fcn.005649af
add esp, 4
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
mov eax, esi
call fcn.00481090
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4739c5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
jmp 0x4739e2
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
sub eax, 0x10
call fcn.00481090
mov edx, eax
mov eax, dword [esp + 0x2c]
add edx, 0x10
mov dword [eax], edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14