joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58e618
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x53c7e5
push esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0053c870
mov dword [esp + 0x18], 0
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
je 0x53c7c1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53c7bd
add esi, 4
push esi
lea ecx, [esp + 0xc]
call fcn.0053ce70
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
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 0x53c7aa
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 esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53c7e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x53c800
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x53c86a
push ecx
lea edx, [esp + 4]
push edx
call fcn.0053c870
mov eax, dword [esp]
cmp dword [eax - 0xc], 0
je 0x53c84e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp]
je 0x53c84e
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53c847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop ecx
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53c86a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ecx
ret
Function at 0x53cad0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5898b8
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
call fcn.00481430
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
lea edi, [esp + 0x18]
call fcn.0047da50
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x10], 0xffffffff
test eax, eax
mov eax, dword [esp + 0x18]
je 0x53cb64
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53cb4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cb80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 8

Function at 0x53cba0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5925e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53cc7a
mov eax, dword [esi]
sub eax, 0x10
call fcn.00481090
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x5aead8
mov dword [esp + 0x40], 0
call fcn.00481430
mov edx, dword [esp + 0x44]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x4c], 1
call fcn.0047b540
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cc42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
call fcn.00544950
test eax, eax
lea eax, [esp + 0x18]
je 0x53cc90
call fcn.004679a0
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x53cc7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
call fcn.004679a0
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x53ccb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x53ccd0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x589888
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
xor edi, edi
push edx
mov dword [esp + 0xc], edi
call fcn.00481430
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], edi
mov eax, dword [eax]
lea edi, [esp + 0x1c]
call fcn.0047da50
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53cd59
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00481090
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x53cd80
push esi
mov ecx, 0x5adcfc
call fcn.00481430
mov dword [esp + 0x14], 0xffffffff
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 0x53cd8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 8
Function at 0x53ce70
Capabilities:
Access peb ldr_data
Create process on windows
Create process suspended
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x589858
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
push 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], 0x44
call fcn.005695a0
mov eax, dword [esi]
add esp, 0xc
sub eax, 0x10
call fcn.00481090
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.tlbb
mov dword [esp + 0x90], ebx
call fcn.00481430
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 1
call fcn.0053cdb0
mov byte [esp + 0x8c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cf2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x8c], 2
mov edx, dword [ecx]
mov eax, dword [esi]
push edx
push eax
push str.__s___s
lea edi, [esp + 0x2c]
call fcn.00481690
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x53cfa5
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x8c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53cfc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cfef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4
Function at 0x53dd40
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58caf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.hotgamelastshowtime
call fcn.004818e0
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.SoftwareKingsoftKVip
mov dword [esp + 0x3c], 0
call fcn.00481430
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, SysReAllocStringLen
mov byte [esp + 0x40], 1
call fcn.0047b9d0
mov esi, eax
push 0
mov byte [esp + 0x3c], 2
call fcn.00564426
mov ecx, dword [0x5f8cb8]
add esp, 4
push str.kybox
push 0x5aeb8c
push ecx
push 0x5aebdc
mov edi, eax
mov dword [esp + 0x28], edx
call fcn.00479130
add esp, 8
mov esi, eax
call fcn.00479130
mov esi, eax
add esp, 8
test esi, esi
je 0x53ddf0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x53ddf8
mov dword [esi], 0xd
jmp 0x53de15
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push ecx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi], eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x53de31
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53de51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
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 0x53de76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
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 0x53de9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x53e310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
jne 0x53e598
cmp edx, 0x82
jne 0x53e360
mov edi, 1
mov dword [esi + 0x9c], edi
call fcn.0053f820
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [esi + 0x9c], 0
je 0x53e598
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 0x10
jne 0x53e39b
mov ecx, dword [esi + 4]
mov edi, 1
push ecx
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [esi + 0x9c], 0
je 0x53e598
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 5
jne 0x53e3bd
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov edi, 1
push eax
mov dword [esi + 0x9c], edi
call fcn.0053f860
jmp 0x53e33f
cmp edx, 0x37f
jne 0x53e3ee
mov edx, dword [esi + 0xcc]
push ecx
push eax
push 0x37f
mov edi, 1
push edx
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x53e348
cmp edx, 0x113
jne 0x53e417
mov edi, 1
push eax
mov ecx, esi
mov dword [esi + 0x9c], edi
call fcn.00540010
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x53e348
cmp edx, 0x4a
jne 0x53e43d
push ecx
mov edi, 1
mov edx, esp
mov dword [esi + 0x9c], edi
mov ebx, esi
mov dword [edx], eax
call fcn.0053f950
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x53e348
cmp edx, 0x405
jne 0x53e460
mov edi, 1
push esi
mov dword [esi + 0x9c], edi
call fcn.005403d0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x53e348
cmp edx, 0x435
jne 0x53e483
mov edi, 1
push eax
mov dword [esi + 0x9c], edi
call fcn.00543000
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x53e348
cmp edx, 0x437
jne 0x53e4a5
mov edi, 1
mov dword [esi + 0x9c], edi
call fcn.005430b0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x53e348
cmp edx, 0x436
jne 0x53e4d5
mov eax, dword [esi + 0xa78]
push 0
mov edi, 1
push eax
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x53e348
cmp edx, 0x41b
jne 0x53e4f9
mov edi, 1
mov edx, esi
mov dword [esi + 0x9c], edi
call fcn.005405d0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x53e348
cmp edx, 0x427
jne 0x53e51c
push eax
mov edi, esi
call fcn.0053fee0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 0x40a
jne 0x53e541
mov edi, 1
push esi
mov ecx, eax
mov dword [esi + 0x9c], edi
call fcn.00542f10
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x53e348
cmp edx, 0x4e
jne 0x53e56f
mov edi, 1
cmp dword [ecx + 8], edi
jne 0x53e598
cmp dword [ecx + 4], 0x2711
jne 0x53e598
push esi
mov dword [esi + 0x9c], edi
call fcn.0053fd90
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x53e348
cmp edx, 7
jne 0x53e598
push ecx
mov ecx, esp
mov edi, 1
mov dword [esi + 0x9c], edi
push esi
mov dword [ecx], eax
call fcn.00542d30
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x53e348
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x540690
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x228]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x228]
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x228]
push 0
push 0x1f4
push 0x3e9
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0xcc]
push 0
push eax
call edi
pop edi
ret

Function at 0x541440
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x589806
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x434], eax
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x14], esi
push 0x424
lea eax, [esp + 0x24]
push ebp
mov dword [esp + 0x458], ebp
push eax
mov dword [esp + 0x28], 0x428
call fcn.005695a0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x541589
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5414d0
sub eax, edx
sar eax, 1
cmp eax, 3
jle 0x541576
lea eax, [esp + eax*2 + 0x36]
test eax, eax
je 0x541576
push 3
push 0x5bd97c
push eax
call fcn.0056707c
add esp, 0xc
test eax, eax
jne 0x541576
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x40]
call fcn.00481430
lea edi, [esp + 0x10]
mov byte [esp + 0x450], 1
call fcn.004120a0
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
jl 0x541552
push str.flash
push ecx
call fcn.0056685f
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x541552
sub eax, ecx
sar eax, 1
jne 0x541552
mov ebp, 1
lea eax, [ecx - 0x10]
mov byte [esp + 0x450], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x541576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x5414c5
cmp esi, 0xffffffff
je 0x541595
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.00564207
add esp, 0x444
ret
Function at 0x5415c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esi + 0xac], eax
push ecx
mov dword [ecx], 0
mov ecx, esp
push eax
mov dword [ecx], 0
call fcn.00543650
push ecx
mov ebx, eax
mov eax, esp
push ecx
mov dword [eax], 0
mov ecx, esp
lea edi, [esi + 0xc8]
mov eax, 0x50000000
push ebx
mov dword [ecx], 0
call fcn.00532460
test eax, eax
je 0x54161a
mov ecx, edi
mov dword [edi + 0x70], 0xffffff
call fcn.00531f20
push ecx
mov eax, esp
mov dword [eax], 0
push ebx
lea eax, [esi + 0x224]
push eax
call fcn.005432a0
mov ecx, dword [esi + 0x228]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov dword [esi + 0xa60], ebx
mov dword [esi + 0xa64], 0x40a
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x5460a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x589729
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
mov esi, 1
push eax
mov dword [esp + 0x14], esi
call fcn.0047bc80
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.datagamebox_
mov dword [esp + 0x30], esi
call fcn.00478cb0
add esp, 0xc
mov byte [esp + 0x24], 2
call fcn.00480f90
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x546145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54616a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x546b90
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5bde78
call fcn.00481430
mov ecx, dword [edi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [edi + 0xc]
test esi, esi
je 0x546bbd
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x546bc5
mov dword [esi], 0xd
jmp 0x546bde
mov edx, dword [esp + 0xc]
push 4
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push edx
push eax
call ebx
mov dword [esi], eax
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 0x546bfe
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.antiofflinecount
call fcn.00481430
test esi, esi
mov edi, dword [edi + 4]
je 0x546c1b
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x546c23
mov dword [esi], 0xd
jmp 0x546c3c
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push ecx
push eax
mov dword [esp + 0x28], edi
call ebx
mov dword [esi], eax
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
pop edi
pop esi
pop ebx
jg 0x546c5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 8
ret
Function at 0x546c70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
add dword [esi + 4], 1
lea eax, [esp + 4]
push eax
mov ecx, str.antiofflinecount
call fcn.00481430
add esi, 0xc
mov ecx, dword [esi - 8]
je 0x546c98
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x546ca0
mov dword [esi], 0xd
jmp 0x546cbd
mov edx, dword [esp + 4]
push 4
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x546cde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 8
ret
Function at 0x548366
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5f7700], 0
push esi
jne 0x5482d9
call fcn.00548204
test eax, eax
je 0x54831c
mov eax, dword [0x5f7700]
cmp eax, 1
jne 0x5482fa
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x54831c
pop esi
ret
push eax
call dword [0x5f7708]
test eax, eax
jne 0x548364
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x548320
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x5f7700]
call dword [0x5f7708]
mov edi, eax
test edi, edi
je 0x548347
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x548363
lea edi, [esi + 0xff0]
push esi
push dword [0x5f7700]
call dword [0x5f7704]
add esi, 0x10
cmp esi, edi
jb 0x54834d
mov eax, esi
pop edi
pop esi
ret
jmp 0x5482c6

Function at 0x548534
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5eb3c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00548473
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.005695a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x548583
cmp dword [ebp - 0x1c], 5
jb 0x54859b
jmp 0x548597
cmp dword [ebp - 0x10], 1
jne 0x54859b
cmp dword [ebp - 0x1c], 4
ja 0x548597
jne 0x54859b
cmp dword [ebp - 0x18], 0
jbe 0x54859b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x5a2ae4
call fcn.0044e720
test eax, eax
jge 0x5485bc
mov byte [0x5f8c40], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00564207
add ebp, 0x78
leave
ret