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

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x51e64c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5057a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.00604c38
lea ecx, [esp + 0x2c]
call fcn.00604bec
mov al, byte [esp + 0x30]
mov ecx, dword [esp + 0x2c]
neg al
sbb eax, eax
lea edx, [esp + 4]
and eax, 8
push edx
add eax, 2
push 0xffffffffffffffff
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x174]
push 0x100d
push eax
mov dword [esp + 0x18], ecx
call dword [fcn.00518664]
test eax, eax
jl 0x51e6cd
push 1
push eax
lea ecx, [esi + 0x158]
call fcn.00605b4f
mov byte [esi + 0x285], 1
push 1
mov ecx, esi
call fcn.0060aeca
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.0060c550
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x51e70c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5057c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.00604c38
lea ecx, [esp + 0x2c]
call fcn.00604bec
mov al, byte [esp + 0x30]
mov ecx, dword [esp + 0x2c]
neg al
sbb eax, eax
lea edx, [esp + 4]
and eax, 8
push edx
add eax, 2
push 0xffffffffffffffff
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1b0]
push 0x100d
push eax
mov dword [esp + 0x18], ecx
call dword [fcn.00518664]
test eax, eax
jl 0x51e78d
push 1
push eax
lea ecx, [esi + 0x194]
call fcn.00605b4f
mov byte [esi + 0x284], 1
push 1
mov ecx, esi
call fcn.0060aeca
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.0060c550
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x505861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.005c35cc
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.0051eddc
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.00606b35
mov byte [esp + 0x14], 2
mov ecx, 0x2a
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x518b28
mov byte [esi + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x505861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.005c35cc
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.0051eddc
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.00606b35
mov byte [esp + 0x14], 2
mov ecx, 0x2a
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x518b28
mov byte [esi + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5353d6
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x507904
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.005873dc
push 0x551d58
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0060c5be
mov ecx, dword [0x559598]
mov byte [esp + 0x10], 1
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.006065ac
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 3
call fcn.006065ac
lea edx, [esi + 0x20]
mov byte [esp + 0x10], 4
push edx
push 0x496e2020
mov dword [esi], 0x51ba44
mov byte [esi + 0x14], 0
call fcn.005bcedc
mov ecx, dword [esp + 0x10]
add esp, 8
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5354cc
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x507944
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], 0x51ba44
lea ecx, [esi + 0x44]
mov dword [esp + 0x10], 3
call fcn.006065df
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.006065df
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0060c550
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.0060c550
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0058742c
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x54a9ac
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x509790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [edi + 0x78]
mov ecx, dword [edi + 0x78]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x3c], edx
call dword [fcn.00518638]
mov eax, dword [edi + 0x11c]
mov ecx, dword [edi + 0x120]
mov esi, dword [edi + 0x124]
sub ecx, eax
sub esi, eax
inc ecx
test cl, 1
je 0x54aa1a
cmp ecx, 1
je 0x54aa1a
dec ecx
test esi, esi
jl 0x54ae6f
test ecx, ecx
jle 0x54ae6f
lea eax, [esi + esi*2]
shl eax, 1
cdq
idiv ecx
mov ebx, eax
lea eax, [esi + esi*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, 0x32
cdq
idiv ecx
test ebx, ebx
jge 0x54aa55
xor ebx, ebx
xor edx, edx
jmp 0x54aa64
cmp ebx, 5
jle 0x54aa64
mov ebx, 5
mov edx, 0x31
jmp dword [ebx*4 + 0x42ddf8]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8
Function at 0x55604c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50a5a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov dword [esp], eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x14], ecx
mov byte [eax + 0x1c], cl
mov byte [eax + 0x10], cl
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x3c], ecx
mov byte [eax + 0x41], cl
mov ecx, dword [esp + 4]
mov dword [eax], 0x51d894
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], 0x7f
mov dword [eax + 0x34], 0x3ff00000
mov byte [eax + 0x40], 1
mov dword [esp + 0xc], edx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x566f1c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bb7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push esi
xor esi, esi
push edi
push esi
sub esp, 0x10
xor eax, eax
mov edi, esp
xor ecx, ecx
xor edx, edx
push esi
mov dword [edi], eax
push 0x5530a4
mov dword [edi + 4], ecx
lea ecx, [esp + 0x2c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
call fcn.0056bdbc
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd0], esi
push esi
mov dword [esp + 0x30], eax
call fcn.005661cc
add esp, 4
lea ecx, [esp + 0xa0]
lea edx, [esp + 8]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00563b1c
mov esi, dword [esp + 0xd8]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0056bf8c
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xcc
ret 8
Function at 0x5672fc
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bc57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
push 1
push 1
lea eax, [esp + 0x20]
xor ebx, ebx
push edi
push eax
mov dword [esp + 0x30], ebx
call fcn.00566ebc
mov edx, dword [eax]
mov esi, dword [esp + 0x48]
add esp, 0x10
mov ebp, dword [eax + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
sub ecx, eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, edx
jne 0x567367
cmp ecx, ebp
jne 0x567367
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x567390
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.005675ac
mov ebx, 1
add esp, 8
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
push eax
lea ecx, [esp + 0x14]
call fcn.0060c5be
test bl, 1
mov dword [esp + 0x2c], 2
je 0x5673b0
lea ecx, [esp + 0x38]
call fcn.0060c550
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5673ce
push edi
lea eax, [esp + 0x14]
push 0x5530b4
push eax
call fcn.00604b90
add esp, 0xc
mov ecx, dword [0x559598]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebp, dword [esi]
sub edx, ecx
mov ecx, dword [esp + 0x10]
sub eax, ebp
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push 0x5530a8
push edx
mov byte [esp + 0x40], 3
call fcn.00604b90
mov ecx, dword [esp + 0x48]
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, 0x56eae0
call fcn.006079f6
test eax, eax
je 0x567423
mov esi, dword [esp + 0x14]
jmp 0x567486
mov edx, dword [esi + 0xc]
mov ebp, dword [esi + 4]
mov eax, dword [esi + 8]
sub edx, ebp
push edx
mov edx, dword [esi]
sub eax, edx
mov ecx, edi
push eax
call fcn.0059f12c
mov esi, eax
test esi, esi
jne 0x567475
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.0060c550
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0060c550
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x56eae0
call fcn.006076d6
mov dword [eax], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.0060c550
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0060c550
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x56934c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x50be26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
mov esi, ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x1c], esi
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0056beec
lea edx, [esp + 0x20]
lea eax, [esi + 0xb8]
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [fcn.00518620]
lea edi, [esi + 0xdc]
mov ecx, edi
call fcn.006065ac
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov byte [esp + 0x14], 1
mov dword [esi], 0x521b20
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 0
mov dword [esi + 0xf0], eax
mov dword [esp + 0x14], eax
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x56a07c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50bf98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push esi
push eax
mov eax, dword [esp + 0x28]
mov esi, ecx
sub esp, 0x10
mov dword [esp + 0x18], esi
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0056b7ec
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x10], edx
cmp eax, edx
mov dword [esi], 0x521ca0
mov dword [esi + 0xe0], eax
jne 0x56a0f0
mov eax, 8
mov ecx, 0xc
jmp 0x56a0fa
mov eax, 0xc
mov ecx, 8
mov dword [esi + 0xe8], eax
or eax, 0xffffffff
mov dword [esi + 0xec], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0xe4], edx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0xf8], eax
mov dword [esp + 0x10], eax
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x56b00c
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x50c0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
mov esi, ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x1c], esi
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0056354c
xor edi, edi
lea eax, [esi + 0xa0]
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi], 0x521f30
mov dword [eax], edx
push edi
push 0x5f00
mov dword [eax + 4], edx
push edi
mov ecx, esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [esi + 0xd0], edi
call fcn.0056b1fc
push edi
push 0xdc00
push 1
mov ecx, esi
call fcn.0056b1fc
push edi
push 0xdc
push 2
mov ecx, esi
call fcn.0056b1fc
push edi
push 0xbfbf
push 3
mov ecx, esi
call fcn.0056b1fc
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xd8], edi
mov dword [esi + 0xd4], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x56e67c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
or eax, 0xffffffff
push ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 4], ecx
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, 2
mov esi, 3
mov ecx, 4
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], ecx
mov ebx, 9
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ecx
mov edi, 5
mov edx, 6
mov eax, 7
mov esi, 8
mov ecx, 0xc
push 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0x110]
push 0
mov dword [esp + 0x18], 0xfffffffe
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x78], 0xa
mov dword [esp + 0x80], 0xb
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], 0xd
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], 0xe
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0x10
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0x11
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], 0x12
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0x13
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0x14
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0x15
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x16
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], 0x17
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], 0x19
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], 0x1a
mov dword [esp + 0x100], 0x1b
mov dword [esp + 0x108], 0x1c
mov dword [esp + 0x10c], ecx
push 0x147
mov eax, dword [ebx + 0x1c]
mov edi, dword [fcn.00518664]
push eax
call edi
mov ecx, dword [ebx + 0x1c]
push 0
push eax
push 0x150
push ecx
call edi
xor ecx, ecx
lea edx, [esp + 0x10]
cmp eax, dword [edx]
je 0x56e8b1
inc ecx
add edx, esi
cmp ecx, 0x1f
jb 0x56e8a3
jmp 0x56e8b6
cmp ecx, 0x1f
jb 0x56e8c7
mov edx, dword [ebx + 0x1c]
push 0
push 0
push 0x14e
push edx
call edi
xor ecx, ecx
mov esi, dword [esp + ecx*8 + 0x14]
mov ebx, dword [esp + 0x110]
xor eax, eax
mov ecx, ebx
test esi, esi
setl al
push eax
call fcn.0060bc41
test esi, esi
jl 0x56e8f3
mov ecx, dword [ebx + 0x1c]
push 0
push esi
push 0x14e
push ecx
call edi
mov ecx, dword [esp + 0xc]
push 1
call fcn.0061ad91
pop edi
pop esi
pop ebx
add esp, 0xfc
ret 8
Function at 0x57b193
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e113
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005208dc
xor ebx, ebx
push 0x7d0
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebx
call fcn.0052074c
mov byte [esp + 0x14], 1
mov dword [esi], 0x524f88
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
jg 0x57b1d9
mov eax, 0x40
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.0060c291
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0052097c
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x58745c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50edd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.005873dc
xor eax, eax
lea edx, [esi + 0x18]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esi], 0x526378
mov dword [esi + 0x14], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov byte [esi + 0x2d], al
mov byte [esi + 0x2e], al
mov byte [esi + 0x2f], al
mov byte [esi + 0x30], al
mov byte [esi + 0x34], al
mov byte [esi + 0x32], al
mov byte [esi + 0x31], al
mov byte [esi + 0x33], al
mov dword [esi + 0x3c], 0x40e58880
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x587476
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50edd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.005873dc
xor eax, eax
lea edx, [esi + 0x18]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esi], 0x526378
mov dword [esi + 0x14], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov byte [esi + 0x2d], al
mov byte [esi + 0x2e], al
mov byte [esi + 0x2f], al
mov byte [esi + 0x30], al
mov byte [esi + 0x34], al
mov byte [esi + 0x32], al
mov byte [esi + 0x31], al
mov byte [esi + 0x33], al
mov dword [esi + 0x3c], 0x40e58880
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x58a7dc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50f1ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0058925c
xor ebx, ebx
push 0x2710
lea ecx, [esi + 0x150]
mov dword [esp + 0x20], ebx
call fcn.0052074c
push 0x3e8
lea ecx, [esi + 0x170]
mov byte [esp + 0x20], 1
call fcn.0052074c
push ebx
lea ecx, [esi + 0x194]
push ebx
mov byte [esp + 0x24], 2
call fcn.005bed9c
push ebx
lea ecx, [esi + 0x1d8]
push ebx
mov byte [esp + 0x24], 3
call fcn.005bed9c
lea ecx, [esi + 0x24c]
mov byte [esp + 0x1c], 4
call fcn.0053813c
lea ecx, [esi + 0x270]
mov byte [esp + 0x1c], 5
call fcn.006069b4
lea ecx, [esi + 0x284]
mov byte [esp + 0x1c], 6
call fcn.006069b4
push 0x41b0d0
push 0x41b0b0
push 0x100
lea eax, [esi + 0xa98]
push 0x10
push eax
mov byte [esp + 0x30], 7
call fcn.005f159b
lea ecx, [esi + 0x1a98]
mov byte [esp + 0x1c], 8
call fcn.0053813c
lea ecx, [esi + 0x1aa8]
mov byte [esp + 0x1c], 9
call fcn.0057b4ac
lea ebp, [esi + 0x1ff0]
mov byte [esp + 0x1c], 0xa
mov ecx, ebp
call fcn.0057b4ac
mov ecx, dword [0x559598]
mov byte [esp + 0x1c], 0xb
mov dword [esi + 0x2538], ecx
lea ecx, [esi + 0x25f0]
mov byte [esp + 0x1c], 0xc
call fcn.0059a15c
mov byte [esp + 0x1c], 0xd
mov ecx, 9
xor eax, eax
lea edi, [esi + 0xa0]
mov dword [esi], 0x526aa4
rep stosd dword es:[edi], eax
mov dword [esi + 0xb4], 1
mov dword [esi + 0x144], ebx
lea edi, [esi + 0x194]
push 0x7d0
mov ecx, edi
mov byte [esi + 0x14c], bl
call fcn.005a87dc
push 0xc8
mov ecx, edi
call fcn.005bee6c
lea edi, [esi + 0x1d8]
push 0x7d0
mov ecx, edi
call fcn.005a87dc
push 0xc8
mov ecx, edi
call fcn.005bee6c
push 0x7d0
call fcn.005a874c
add esp, 4
mov dword [esi + 0x21c], eax
mov eax, 0x3ff00000
mov dword [esi + 0x268], ebx
mov dword [esi + 0x260], ebx
push 2
mov ecx, esi
mov dword [esi + 0x190], ebx
mov byte [esi + 0x221], bl
mov byte [esi + 0x220], 1
mov dword [esi + 0x26c], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x248], ebx
mov byte [esi + 0x25e8], 1
mov byte [esi + 0x25ea], bl
mov dword [esi + 0x234], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
call fcn.0058ae6c
mov dword [esi + 0x240], ebx
push 1
mov ecx, esi
mov dword [esi + 0x244], ebx
call fcn.0058befc
mov edi, 3
mov dword [esi + 0x25e4], ebx
mov dword [esi + 0x2590], ebx
mov dword [esi + 0x258c], ebx
cmp word [ebp + 8], di
mov ecx, dword [ebp + 0xc]
sete dl
xor eax, eax
push edx
mov ax, word [ebp + 0x16]
push eax
push 2
push ecx
mov ecx, ebp
call fcn.0057be9c
cmp word [ebp + 8], di
mov ecx, dword [ebp + 0xc]
sete dl
xor eax, eax
push edx
mov ax, word [ebp + 0xa]
push 0x10
push eax
push ecx
mov ecx, ebp
call fcn.0057be9c
push 0x3fa030e3
push 0xc0000000
push 0xffffffffffffffff
lea ecx, [esi + 0x1aa8]
mov byte [esi + 0x1cd1], 1
call fcn.0057b7fc
mov byte [esi + 0x25e9], bl
mov byte [esi + 0x27b8], bl
mov eax, esi
pop edi
mov dword [esp + 0x18], 0xffffffff
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret