joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c2c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov al, byte [ebx + 0x324]
push esi
test al, al
mov eax, dword [ebp + 8]
push edi
je 0x52c2fd
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [ebx + 0x328]
mov edx, dword [ebx + 0x32c]
sub ecx, esi
sub edx, edi
cmp ecx, edx
jne 0x52c2fd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x52c2fd
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
mov cl, byte [ebp + 0xc]
mov byte [ebx + 0x325], cl
lea ecx, [ebx + 0x328]
cmp eax, ecx
mov byte [ebx + 0x324], 1
je 0x52c327
lea edx, [ebp + 0xf]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.0040c800
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 8]
push 1
push 0
push 0
mov dword [ebx + 0x334], eax
mov eax, dword [esi]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x52c2f4
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x84]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
Function at 0x52ee50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6085c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov edx, dword [ecx + 0x30]
lea eax, [ecx + 0x30]
mov ecx, dword [eax + 4]
sub ecx, edx
je 0x52efba
push esi
push edi
push eax
lea edx, [ebp - 0x34]
push str.SOFTWARE_
push edx
call fcn.00418830
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.00518a60
add esp, 0x14
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041d780
lea ecx, [ebp - 0x1c]
call fcn.00402680
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0x5c
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00509580
mov esi, eax
cmp esi, 0xffffffff
je 0x52ef58
push esi
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call fcn.0050cd80
push eax
lea edx, [ebp - 0x34]
push 0x60cb74
push edx
mov byte [ebp - 4], 4
call fcn.00418830
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp + 0xb]
push edx
push ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402c10
lea ecx, [ebp - 0x34]
call fcn.0041d780
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041d780
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.0050cd80
lea ecx, [ebp - 0x1c]
cmp eax, ecx
mov byte [ebp - 4], 6
je 0x52ef4e
mov ecx, dword [eax + 4]
lea edx, [ebp + 0xb]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040c800
lea ecx, [ebp - 0x40]
call fcn.0041d780
jmp 0x52ef72
lea eax, [ebp - 0x1c]
cmp edi, eax
je 0x52ef72
mov edx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp + 0xb]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c800
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
pop esi
jne 0x52efaa
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.0041d780
lea ecx, [ebp - 0x28]
call fcn.0041d780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x531a70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], edi
call fcn.00402680
mov al, byte [ebx + 0x41d]
test al, al
mov dword [ebp - 4], edi
jne 0x531aea
mov eax, dword [ebx + 0x2cc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x531aea
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x531ae4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x531ae4
push eax
lea ecx, [ebp - 0x1c]
call fcn.00418800
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.0052c1e0
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
mov ecx, ebx
call fcn.00404e60
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp ecx, edi
mov esi, ecx
je 0x531b4a
cmp eax, 0x80
jbe 0x531b20
push ecx
call fcn.005e05ca
jmp 0x531b47
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], esi
mov dword [0x655bd8], 0
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5810c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x65480c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x58110d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push 0x617cc0
push ecx
call fcn.005e230d
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005e4c65
mov ecx, dword [ebp - 4]
call fcn.005e149c
mov esp, ebp
pop ebp
ret
Function at 0x5813d0
Capabilities:
Terminate process

Disassembly:
push 0x68d3f0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x68d3ec]
test eax, eax
jne 0x581429
push 0x68
call fcn.005d0282
add esp, 4
test eax, eax
je 0x581400
push str.bass.dll
mov ecx, eax
call fcn.00581120
jmp 0x581402
xor eax, eax
mov dword [0x68d3ec], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x581429
push 0x10
push str.Error
push str.Cant_find_bass.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005e4c65
ret

Function at 0x5814f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x65480c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x58153d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_fmod.dll
push ecx
call fcn.005e230d
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005e4c65
mov ecx, dword [ebp - 4]
call fcn.005e149c
mov esp, ebp
pop ebp
ret
Function at 0x5818f0
Capabilities:
Terminate process

Disassembly:
push 0x68d3f8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x68d3f4]
test eax, eax
jne 0x58194c
push 0x80
call fcn.005d0282
add esp, 4
test eax, eax
je 0x581923
push str.fmod.dll
mov ecx, eax
call fcn.00581550
jmp 0x581925
xor eax, eax
mov dword [0x68d3f4], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x58194c
push 0x10
push str.Error
push str.Cant_find_fmod.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005e4c65
ret

Function at 0x5825d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
fld qword [0x611680]
mov ecx, dword [ebp + 0xc]
fstp qword [esi + 0x18]
mov eax, dword [ebp + 8]
fld qword [0x611680]
xor ebx, ebx
fstp qword [esi + 0x28]
cmp ecx, ebx
lea edi, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edi], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], 0xac44
je 0x5826cc
mov eax, dword [eax + 0x1494]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x14]
cmp eax, ebx
je 0x5826c0
cmp eax, 0x8878000a
jg 0x58268d
je 0x582680
cmp eax, 0x8007000e
je 0x582673
cmp eax, 0x80070057
jne 0x5826ba
push ebx
push 0x6185b4
push str.DSERR_INVALIDPARAM
jmp 0x5826b3
push ebx
push 0x6185b4
push str.DSERR_OUTOFMEMORY
jmp 0x5826b3
push ebx
push 0x6185b4
push str.DSERR_ALLOCATED
jmp 0x5826b3
cmp eax, 0x88780032
je 0x5826a8
cmp eax, 0x887800aa
jne 0x5826ba
push ebx
push 0x6185b4
push str.DSERR_UNINITIALIZED
jmp 0x5826b3
push ebx
push 0x6185b4
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.005e4c65
mov edi, dword [edi]
mov ecx, dword [edi]
lea eax, [esi + 0x30]
push eax
push edi
call dword [ecx + 0x20]
mov ecx, esi
call fcn.00580e50
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x58cc30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x58cc63
push esi
call fcn.00599f20
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x58cc5c
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x58cce2
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x58ccd1
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x58cc8d
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x58cccc
cmp eax, 2
je 0x58ccd1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x58cc80
cmp eax, 3
je 0x58ccb3
cmp eax, 1
jne 0x58cc80
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x58cc80
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x58cc80
xor al, al
pop esi
pop ebp
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.0058cac0
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x58cd02
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
push esi
call dword [eax]
add esp, 4
call fcn.0058cac0
pop esi
pop ebp
ret

Function at 0x591cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x591cfe
xor eax, eax
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 8
not esi
jb 0x591df4
mov edx, edi
shr edx, 3
xor ebx, ebx
mov bl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor ebx, esi
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
xor ebx, ebx
mov bl, byte [ecx + 1]
xor eax, esi
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
xor ebx, ebx
mov bl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
xor ebx, ebx
mov bl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
xor ebx, ebx
mov bl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
shr eax, 8
xor eax, esi
xor ebx, ebx
mov bl, byte [ecx + 1]
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
shr eax, 8
xor eax, esi
xor ebx, ebx
mov bl, byte [ecx + 1]
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
shr eax, 8
xor eax, esi
xor ebx, ebx
mov bl, byte [ecx + 1]
inc ecx
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x61add8]
shr eax, 8
xor eax, esi
inc ecx
dec edx
mov esi, eax
jne 0x591d17
test edi, edi
je 0x591e13
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebx, dword [eax*4 + 0x61add8]
shr esi, 8
xor esi, ebx
inc ecx
dec edi
jne 0x591df8
pop edi
mov eax, esi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x596bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebx + 0x24]
push esi
push edi
mov dword [ebp - 4], eax
jmp 0x596bc3
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub ecx, edx
sub ecx, esi
mov dword [ebp - 8], ecx
jne 0x596be4
test edx, edx
jne 0x596bf3
test esi, esi
jne 0x596bf3
mov ecx, eax
jmp 0x596c7c
cmp ecx, 0xffffffff
jne 0x596bf3
mov ecx, 0xfffffffe
jmp 0x596c7c
mov esi, dword [ebx + 0x24]
lea esi, [eax + esi - 0x106]
cmp edx, esi
jb 0x596c7c
mov edi, dword [ebx + 0x30]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x54]
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x68], esi
mov esi, dword [ebx + 0x44]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x64], edx
lea edx, [ecx + esi*2]
jmp 0x596c40
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x596c4f
sub ecx, eax
jmp 0x596c51
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x596c40
mov edx, dword [ebx + 0x38]
mov esi, eax
lea edx, [edx + eax*2]
nop
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x596c6f
sub ecx, eax
jmp 0x596c71
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x596c60
mov ecx, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 4]
test edx, edx
je 0x596ce0
mov edx, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x64]
mov esi, dword [ebx + 0x30]
add edx, edi
add edx, esi
push edx
push eax
call fcn.00596950
mov ecx, dword [ebx + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 8
cmp edx, 3
mov dword [ebx + 0x6c], ecx
jb 0x596ccb
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edx, 0x106
jae 0x596ce0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x596bc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x59a860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
test edx, edx
push edi
mov edi, dword [ebp + 8]
je 0x59a8c0
push ebx
push esi
mov ecx, dword [edx]
mov ebx, dword [ecx]
mov esi, dword [edx + 4]
mov ecx, dword [edx + 8]
add esi, ebx
cmp edi, ecx
mov ebx, edi
jl 0x59a884
mov ebx, ecx
xor ecx, ecx
test ebx, ebx
mov dword [ebp - 4], ebx
jle 0x59a8b2
lea ecx, [ecx]
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 0x18
xor edi, ebx
mov ebx, dword [edi*4 + 0x652588]
mov edi, dword [ebp - 4]
shl eax, 8
xor eax, ebx
inc ecx
cmp ecx, edi
jl 0x59a890
mov edi, dword [ebp + 8]
mov edx, dword [edx + 0xc]
sub edi, ecx
test edx, edx
mov dword [ebp + 8], edi
jne 0x59a870
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x5b5020
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x5b5072
mov edi, dword [esp + 0x10]
test edi, edi
je 0x5b5072
mov cl, byte [esi]
mov al, cl
mov dl, cl
and dl, 0x7e
sar al, 7
shl cl, 7
and al, 1
or al, dl
or al, cl
mov cl, al
shr cl, 1
not cl
shl cl, 1
xor cl, al
and cl, 2
xor al, cl
mov dl, al
shr dl, 2
not dl
shl dl, 2
xor dl, al
and dl, 4
xor dl, al
mov byte [esi], dl
inc esi
dec edi
jne 0x5b5032
pop edi
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x5b5100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6090ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], 0x627b3c
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea edi, [esi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 2
call fcn.005b4730
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005b4730
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x5b5117
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6090ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], 0x627b3c
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea edi, [esi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 2
call fcn.005b4730
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005b4730
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5b56a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x609133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x3c]
mov dword [esi], 0x627b74
mov dword [esp + 0x14], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
push 0x60c437
mov byte [esp + 0x18], 1
mov dword [esi + 0x48], 4
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
call fcn.005b4730
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5b5740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x3c]
mov dword [esi], 0x627b74
mov dword [esp + 0x18], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 1
mov dword [esi + 0x48], 4
call fcn.005b4730
push 0x60c437
mov ecx, edi
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
call fcn.005b4730
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x609168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
or eax, 0xffffffff
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esp + 4], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esi], 0x627bc8
call fcn.005b4730
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5b6400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609193
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor edx, edx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 4], edi
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], edx
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
mov dword [esp + 8], esi
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 1
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
lea eax, [esi + 0x34]
mov dword [esi], 0x627c04
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax], 0x627b3c
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x28], edx
mov dword [esp + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x30], eax
mov dword [eax + 0x2c], eax
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], edx
call fcn.005b4730
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x5b655a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6091ab
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x34]
push ebx
mov ecx, edi
call fcn.005b5ba0
test eax, eax
je 0x5b658e
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [eax + 0x20]
call fcn.005b4730
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
push 0x34
call fcn.005d0282
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x5b65b7
mov edx, dword [esp + 0x20]
push edx
push ebx
mov ecx, eax
call fcn.005b5100
jmp 0x5b65b9
xor eax, eax
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x14], ebx
je 0x5b65ea
mov dword [eax + 0x30], edi
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x2c], ecx
mov edx, dword [edi + 0x2c]
mov dword [edx + 0x30], eax
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
test esi, esi
je 0x5b6638
mov edi, edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5b6612
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x5b65f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov al, byte [esi + 0x34]
test al, al
jne 0x5b6638
mov byte [esi + 0x34], 1
mov dword [esi + 0x38], 3
mov eax, dword [str.Memory_allocation_failed.]
push eax
lea ecx, [esi + 0x3c]
call fcn.005b4730
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x5b9c30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x609481
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
call fcn.00404e60
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.00404e60
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x24], 1
je 0x5b9ca7
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x24], 2
je 0x5b9ca1
lea edx, [esp + 4]
push edx
mov ecx, eax
call fcn.005b8510
add dword [esi + 4], 0x18
jmp 0x5b9cbd
push 1
push 1
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.005b99c0
lea ecx, [esp + 4]
call fcn.0041d660
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8