joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a9150
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov ebp, eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x5a918c
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push 0x64
push edx
push eax
call fcn.0062e060
add dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
adc dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x14]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
jl 0x5a91c7
jg 0x5a91e4
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x18]
jb 0x5a91c7
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x14]
rdtsc
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push 0x64
push eax
push ecx
call fcn.00630410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x5a9480
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 0x18]
push edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor esi, esi
cmp dword [0x6a9fdc], esi
jle 0x5a94f1
xor ebx, ebx
mov edi, dword [0x75a8c4]
test edi, edi
je 0x5a94cc
mov ecx, dword [0x75a8c8]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x5a94d7
call fcn.0061c63f
mov edi, dword [0x75a8c4]
lea ecx, [ebx + edi]
push ecx
call fcn.005a9330
add esi, 1
add esp, 4
add ebx, 0x18
cmp esi, dword [0x6a9fdc]
jl 0x5a94a5
lea edx, [esp + 0x14]
mov dword [0x6a9fdc], 0
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x20]
add dword [0x6a95a0], eax
pop edi
pop esi
adc dword [0x6a95a4], ecx
pop ebx
add esp, 0x18
ret
Function at 0x5a9940
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [edx + 0x9c0], 0x270
jl 0x5a99fe
xor eax, eax
push esi
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4]
add eax, 1
and ecx, 0x7fffffff
xor ecx, dword [edx + eax*4 - 4]
mov esi, ecx
shr ecx, 1
and esi, 1
xor ecx, dword [esi*4 + 0x6a5e38]
xor ecx, dword [edx + eax*4 + 0x630]
cmp eax, 0xe3
mov dword [edx + eax*4 - 4], ecx
jl 0x5a9953
cmp eax, 0x26f
jge 0x5a99c4
mov edi, edi
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4]
add eax, 1
and ecx, 0x7fffffff
xor ecx, dword [edx + eax*4 - 4]
mov esi, ecx
shr ecx, 1
and esi, 1
xor ecx, dword [esi*4 + 0x6a5e38]
xor ecx, dword [edx + eax*4 - 0x390]
cmp eax, 0x26f
mov dword [edx + eax*4 - 4], ecx
jl 0x5a9990
mov eax, dword [edx + 0x9bc]
xor eax, dword [edx]
pop esi
and eax, 0x7fffffff
xor eax, dword [edx + 0x9bc]
mov ecx, eax
and ecx, 1
mov ecx, dword [ecx*4 + 0x6a5e38]
xor ecx, dword [edx + 0x630]
shr eax, 1
xor ecx, eax
mov dword [edx + 0x9bc], ecx
mov dword [edx + 0x9c0], 0
mov eax, dword [edx + 0x9c0]
mov ecx, dword [edx + eax*4]
add eax, 1
mov dword [edx + 0x9c0], eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
and eax, 0x7fffffff
ret
Function at 0x5abf10
Capabilities:
Get socket status

Disassembly:
sub esp, 0x328
push ebx
xor ebx, ebx
cmp byte [esi + 0xf6], bl
jne 0x5abff5
cmp byte [esp + 0x330], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x118], ebx
je 0x5abf4b
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x5abf50
mov eax, 1
cmp byte [esp + 0x334], bl
je 0x5abf6a
mov ecx, dword [esi + 8]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x118], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x220], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x224]
push ecx
mov dword [esp + 0x22c], edx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x40
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x186a0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x5ac001
mov edx, dword [esi + 8]
lea ecx, [esp + 0x220]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x5ac001
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x5abff5
mov eax, dword [esi + 8]
lea edx, [esp + 0x118]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x5abff5
cmp byte [esi + 0xf6], bl
je 0x5abf25
mov al, 1
pop ebx
add esp, 0x328
ret 8
mov ecx, 6
mov eax, esi
call fcn.005abf00
xor al, al
pop ebx
add esp, 0x328
ret 8

Function at 0x5acb20
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x6a9f38]
test ecx, ecx
mov dl, 1
mov byte [eax + 0xf4], dl
je 0x5acb3b
cmp byte [ecx + 0x511], 0
jne 0x5acb51
push eax
push 0
push 0x5ac890
mov byte [eax + 0xf5], dl
call fcn.0061f90f
add esp, 0xc
ret
Function at 0x5ad570
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x641560
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x188], 2
jne 0x5ad5d1
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x65540c
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00404330
jmp 0x5ad6e5
mov ebp, 0xf
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x3c], ebx
cmp byte [edi + 0x15c], bl
je 0x5ad6a6
lea eax, [edi + 0x18c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x3c], 1
mov eax, dword [edi + 0x158]
push eax
call fcn.0061d948
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 4
cmp ebp, eax
ja 0x5ad62f
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403f00
jmp 0x5ad63e
mov ecx, ebp
sub ecx, eax
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00441d20
mov edx, dword [edi + 0x158]
push ebx
push ebx
push edx
call fcn.0061d72b
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x2c], 0x10
jae 0x5ad65e
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x158]
push ecx
push ebp
push 1
push eax
call fcn.0061d24e
add esp, 0x10
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403e20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x2c], 0x10
jb 0x5ad6e5
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x5ad6dd
push 0xffffffffffffffff
push ebx
add edi, 0x160
push edi
lea ecx, [esp + 0x20]
call fcn.00403e20
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403e20
cmp dword [esp + 0x2c], 0x10
jb 0x5ad6e5
mov eax, dword [esp + 0x18]
push eax
call fcn.0061c19a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0061efd1
add esp, 0x30
ret

Function at 0x5adc70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [esi + 0x188], 2
jne 0x5adcc1
mov al, 1
mov byte [esi + 0x184], al
mov byte [esi + 0x185], al
lea eax, [esp]
push eax
push 0
push esi
push 0x5ad710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x5adcba
mov byte [esi + 0x184], al
mov byte [esi + 0x185], al
mov dword [esi + 0x188], 0xb
pop ecx
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x5af140
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x202c
call fcn.00635b40
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x2028], eax
cmp byte [0x6a9fc7], 0
push ebx
push esi
push edi
je 0x5af350
push 0x75a8f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x67467c
push str.mem_leaks.txt
mov dword [esp + 0x18], 0
call fcn.0061ceb1
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], esi
je 0x5af345
push 0
call fcn.0061e0a9
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], edx
call fcn.0061e3aa
push eax
call fcn.0061fbb4
push eax
lea ecx, [esp + 0x40]
push str.Memory_Leak_Report_for__s_n
push ecx
call fcn.0061d4e6
lea edx, [esp + 0x48]
push edx
push esi
call fcn.0061e662
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x20
push 0x656b04
call ebx
lea eax, [esp + 0x30]
push eax
call ebx
mov ecx, dword [0x75a8ec]
mov esi, dword [ecx]
mov edi, 0x75a8e8
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
jmp 0x5af210
test edi, edi
mov edx, dword [0x75a8ec]
mov dword [esp + 0x2c], edx
je 0x5af226
cmp edi, 0x75a8e8
je 0x5af22b
call fcn.0061c63f
cmp esi, dword [esp + 0x2c]
je 0x5af2e2
test edi, edi
jne 0x5af23e
call fcn.0061c63f
cmp esi, dword [edi + 4]
jne 0x5af248
call fcn.0061c63f
cmp dword [esi + 0x10], 1
mov ebx, 0x6746ac
jg 0x5af258
mov ebx, 0x65540c
cmp esi, dword [edi + 4]
jne 0x5af276
call fcn.0061c63f
cmp esi, dword [edi + 4]
jne 0x5af276
call fcn.0061c63f
cmp esi, dword [edi + 4]
jne 0x5af276
call fcn.0061c63f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x11c]
push ebx
push eax
push ecx
lea edx, [esi + 0x14]
push edx
lea eax, [esp + 0x40]
push str._s__d__:_Leak__d_byte_s_n
push eax
call fcn.0061d4e6
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.0061e662
add esp, 8
cmp esi, dword [edi + 4]
jne 0x5af2bf
call fcn.0061c63f
mov ecx, dword [esi + 0x10]
add dword [esp + 0x10], ecx
lea esi, [esp + 0x18]
call fcn.005c25a0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x5af210
lea edx, [esp + 0x30]
push str.____________________________________________________________n
push edx
call fcn.0061d4e6
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0061e662
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push ecx
lea edx, [esp + 0x38]
push str.Total_Unfreed:__d_bytes___dKB__n_n
push edx
call fcn.0061d4e6
add esp, 0x10
lea eax, [esp + 0x30]
push eax
call ebx
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.0061e662
add esp, 8
push 0x75a8f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2034]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061efd1
mov esp, ebp
pop ebp
ret
Function at 0x5af370
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x20
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.005b0b10
mov eax, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0x18], 0x10
jae 0x5af3a3
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x18], 0x10
jb 0x5af3be
mov edx, dword [esp + 4]
push edx
call fcn.0061c19a
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0061efd1
add esp, 0x20
ret

Function at 0x5af3f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, 0x75a910
jmp fcn.005a9940
jmp 0x5a9930

Function at 0x5af420
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x75a910
jmp fcn.005a98d0

Function at 0x5af4e0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp byte [0x6a5e41], 0
push esi
je 0x5af569
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.00626020
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x5af556
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x5af556
xor al, al
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0061efd1
add esp, 0xa0
ret
cmp dword [esp + 8], 6
mov byte [0x6a5e41], 0
setae byte [0x75b89e]
mov ecx, dword [esp + 0xa0]
mov al, byte [0x75b89e]
pop esi
xor ecx, esp
call fcn.0061efd1
add esp, 0xa0
ret
Function at 0x5b18b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6411b3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
lea esi, [edi + 0x28]
mov dword [edi], vtable.Sexy::BetaSupport.0
call fcn.005ad110
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, 0xf
mov dword [edi + 0x1e8], eax
mov dword [edi + 0x1e4], ebx
mov byte [edi + 0x1d4], bl
mov dword [edi + 0x204], eax
mov dword [edi + 0x200], ebx
mov byte [edi + 0x1f0], bl
mov dword [edi + 0x220], eax
mov dword [edi + 0x21c], ebx
mov byte [edi + 0x20c], bl
mov dword [edi + 0x23c], eax
mov dword [edi + 0x238], ebx
mov byte [edi + 0x228], bl
mov byte [esp + 0x1c], 4
call fcn.005c2930
mov dword [edi + 0x248], eax
mov cl, 1
mov byte [eax + 0x49], cl
mov eax, dword [edi + 0x248]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x248]
mov dword [eax], eax
mov eax, dword [edi + 0x248]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x24c], ebx
mov dword [edi + 4], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov byte [edi + 0x1cc], bl
mov byte [edi + 0x1cd], cl
mov dword [edi + 0x18], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x48
push 0x60
push 8
mov dword [esp + 0x30], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI42.dll_CreateFontA]
push 0x48
push 0x60
push 8
mov dword [edi + 8], eax
call ebp
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
neg eax
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.GDI42.dll_CreateFontA]
push 0x48
push 0x60
push 0xa
mov dword [edi + 0xc], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI42.dll_CreateFontA]
mov ecx, dword [esp + 0x24]
push ecx
push esi
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [edi + 0x240], bl
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x5b2040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x5b215b
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5b215b
push edi
push 0xff
push eax
lea edx, [esp + 0x19]
push edx
mov byte [esp + 0x1c], al
call fcn.00626020
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Name
push eax
mov dword [esp + 0x1c], 0x100
call edi
test eax, eax
jne 0x5b20fc
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b20e0
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x208]
call fcn.00404330
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Password
push eax
mov dword [esp + 0x1c], 0x100
call edi
test eax, eax
pop edi
jne 0x5b2150
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b2134
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x224]
call fcn.00404330
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0061efd1
add esp, 0x110
ret

Function at 0x5b2170
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x5b2225
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0xf003f
push 0
push 0x670c4c
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5b2225
cmp dword [esi + 0x220], 0x10
mov ecx, dword [esi + 0x21c]
jb 0x5b21cb
mov eax, dword [esi + 0x20c]
jmp 0x5b21d1
lea eax, [esi + 0x20c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
mov eax, dword [esp + 0x10]
push 1
push 0
push str.Name
push eax
call edi
cmp dword [esi + 0x23c], 0x10
mov eax, dword [esi + 0x238]
jb 0x5b2201
mov esi, dword [esi + 0x228]
jmp 0x5b2207
add esi, 0x228
mov ecx, dword [esp + 8]
push eax
push esi
push 1
push 0
push str.Password
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x5b3a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x646beb
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.Sexy::ResourceManager.0
call fcn.005c24e0
mov dword [esi + 8], eax
mov byte [eax + 0x29], 1
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax], eax
mov eax, dword [esi + 8]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x14], ebx
call fcn.005c2c80
mov dword [esi + 0x14], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x14]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 8], eax
mov dword [esi + 0x18], ebx
mov byte [esp + 0x14], 1
call fcn.005c2c80
mov dword [esi + 0x20], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x20]
mov dword [eax], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 8], eax
mov dword [esi + 0x24], ebx
mov byte [esp + 0x14], 2
call fcn.005c2c80
mov dword [esi + 0x2c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov dword [esi + 0x30], ebx
mov eax, 0xf
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], ebx
mov byte [esi + 0x98], bl
mov byte [esp + 0x14], 7
call fcn.005c2030
mov dword [esi + 0xb8], eax
mov byte [eax + 0x35], 1
mov eax, dword [esi + 0xb8]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb8]
mov dword [eax], eax
mov eax, dword [esi + 0xb8]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x58], eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x34], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov dword [esi + 0xc0], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x5b9460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6410e0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
xor edi, edi
cmp byte [esi + 4], 0
mov ebp, ecx
mov dword [esp + 0x30], edi
je 0x5b95f9
mov eax, 0x675198
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
lea edx, [eax + 1]
jmp 0x5b94d0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b94d0
sub eax, edx
push eax
push 0x675198
lea ecx, [esp + 0x58]
call fcn.00404330
mov dword [esp + 0x78], edi
mov edi, edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5b9598
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x5b9598
test edi, edi
je 0x5b9531
mov eax, 0x67519c
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b9517
sub eax, edx
push eax
push 0x67519c
lea ecx, [esp + 0x58]
call fcn.0041e3e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5b9544
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x5b9549
call fcn.0061c63f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
push 1
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.005b9460
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.0041dc70
mov byte [esp + 0x78], 0
cmp dword [esp + 0x2c], 0x10
jb 0x5b9590
mov eax, dword [esp + 0x18]
push eax
call fcn.0061c19a
add esp, 4
add edi, 1
jmp 0x5b94f0
mov eax, 0x66f788
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b95a0
sub eax, edx
push eax
push 0x66f788
lea ecx, [esp + 0x58]
call fcn.0041e3e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
push ecx
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.00403e20
cmp dword [esp + 0x68], 0x10
jb 0x5b969b
mov edx, dword [esp + 0x54]
push edx
call fcn.0061c19a
add esp, 4
jmp 0x5b969b
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x5b967f
push 1
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005b9460
mov ebp, eax
add esi, 8
push esi
mov edi, 0x6751a0
lea esi, [esp + 0x18]
mov dword [esp + 0x7c], 2
call fcn.0041e290
push ebp
push eax
mov esi, ebx
mov byte [esp + 0x84], 3
call fcn.0041e340
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], esi
jb 0x5b9655
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jb 0x5b969b
mov edx, dword [esp + 0x38]
push edx
call fcn.0061c19a
add esp, 4
jmp 0x5b969b
push 0xffffffffffffffff
add esi, 8
push edi
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], edi
push esi
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.00403e20
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0061efd1
add esp, 0x68
ret 0xc