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

Disassembly:
push 0xffffffffffffffff
push 0x609928
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esi + 0x1c], 0xffffffff
jne 0x54cb32
xor al, al
jmp 0x54cc12
call fcn.005448f0
test al, al
je 0x54cb2b
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.005442e0
cmp dword [edi + 0x14], 0
mov dword [esp + 0x74], 0
jne 0x54cb59
xor edi, edi
jmp 0x54cb64
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x54cb64
mov edi, dword [edi]
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.005e0f30
lea eax, [esi + 4]
mov dword [esp + 0x1c], 0x3c
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x14], 0x440
jb 0x54cb98
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
jne 0x54cbb6
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
jmp 0x54cbc1
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x54cbc1
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 1
call dword [0x6292e0]
test eax, eax
jne 0x54cbe0
xor bl, bl
jmp 0x54cbff
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x54cbf3
push dword [esp + 0x48]
call eax
mov dword [esi + 0x1c], eax
push dword [esp + 0x48]
call dword [0x62922c]
mov bl, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00543f30
mov al, bl
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005e0482
add esp, 0x68
ret 8
Function at 0x54e040
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x54e04b
mov ecx, dword [ecx]
push ecx
call dword [0x629124]
test eax, eax
setne al
ret

Function at 0x54fc20
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x609eee
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [0x6382c4]
test al, 1
jne 0x54fcb0
or eax, 1
mov dword [0x6382c4], eax
push 0x190
lea eax, [esp + 8]
mov dword [esp + 0x1a4], 0
push 0
push eax
mov dword [0x6382c0], 0xffffffff
call fcn.005e0f30
add esp, 0xc
lea eax, [esp + 4]
push eax
push 2
call dword [0x629380]
push 0x612a90
mov dword [0x6382c0], eax
call fcn.005dfac5
add esp, 4
mov eax, 0x6382c0
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005e0482
add esp, 0x1a0
ret
Function at 0x555a00
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x60a05b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xe9c], 0
lea esi, [edi + 0xe9c]
jne 0x555b19
mov dword [esp + 0x10], 0
call fcn.00556670
push eax
lea ecx, [esp + 0x14]
call fcn.0054d900
cmp byte [esi], 0
mov dword [esp + 0x20], 0
jne 0x555b08
cmp dword [edi + 0xea0], 0
jne 0x555aa4
push 4
call fcn.005df944
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x555a9c
mov ecx, eax
mov dword [eax], 0
call fcn.0054d8e0
jmp 0x555a9e
xor eax, eax
mov dword [edi + 0xea0], eax
mov dword [esp + 0xc], esi
mov ecx, edi
mov byte [esp + 0x20], 2
mov byte [0x62e534], 0xf0
call fcn.00569f00
test al, al
jne 0x555ad7
lea ecx, [esp + 0x10]
mov byte [esi], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.0054d940
xor al, al
jmp 0x555b1b
mov ecx, edi
mov dword [esp + 0x20], 2
call fcn.00555ce0
call fcn.005753c0
test al, al
jne 0x555af7
push 1
call dword [0x629144]
push 0
call fcn.00574340
mov ecx, eax
call fcn.005752d0
mov byte [esi], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0054d940
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005e0482
add esp, 0x18
ret

Function at 0x564a70
Capabilities:
Read file via mapping

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0xc]
call fcn.00564ab0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x564aa6
push 0
push 0
push 0
push 6
push ecx
call dword [0x629154]
test eax, eax
jne 0x564aa1
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8
Function at 0x565430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60bcd7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x4d34e8
mov esi, dword [edi + 0x74]
mov dword [esp + 0x18], 4
cmp esi, dword [edi + 0x78]
je 0x565484
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x56547c
mov eax, dword [ecx]
push 1
call dword [eax]
add esi, 4
cmp esi, dword [edi + 0x78]
jne 0x565470
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
test eax, eax
je 0x5654ac
push eax
call fcn.005df995
add esp, 4
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x58], 0x4ca328
cmp dword [edi + 0x70], 0x10
jb 0x5654c4
push dword [edi + 0x5c]
call fcn.005df995
add esp, 4
mov dword [edi + 0x70], 0xf
mov dword [edi + 0x6c], 0
mov byte [edi + 0x5c], 0
mov dword [edi + 0x3c], 0x4ca328
cmp dword [edi + 0x54], 0x10
jb 0x5654ee
push dword [edi + 0x40]
call fcn.005df995
add esp, 4
mov dword [edi + 0x54], 0xf
mov dword [edi + 0x50], 0
mov byte [edi + 0x40], 0
mov dword [edi + 0x20], 0x4ca328
cmp dword [edi + 0x38], 0x10
jb 0x565518
push dword [edi + 0x24]
call fcn.005df995
add esp, 4
mov dword [edi + 0x38], 0xf
lea ecx, [edi + 4]
mov dword [edi + 0x34], 0
mov byte [edi + 0x24], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.00543f30
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x565550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0xa0], 0x4ca328
cmp dword [esi + 0xb8], 0x10
jb 0x565574
push dword [esi + 0xa4]
call fcn.005df995
add esp, 4
mov dword [esi + 0xb8], 0xf
mov dword [esi + 0xb4], 0
mov byte [esi + 0xa4], 0
mov dword [esi + 0x84], 0x4ca328
cmp dword [esi + 0x9c], 0x10
jb 0x5655b0
push dword [esi + 0x88]
call fcn.005df995
add esp, 4
mov dword [esi + 0x9c], 0xf
mov ecx, esi
mov dword [esi + 0x98], 0
mov byte [esi + 0x88], 0
pop esi
jmp fcn.00565430
Function at 0x5689c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push edi
call fcn.00543df0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esi + 0x18]
call fcn.00543f60
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00543f30
cmp dword [esi + 8], 0
jne 0x568a7c
cmp dword [esi + 4], 0
jne 0x568a7c
push dword [esi + 0xc]
mov dword [esi + 0x10], 2
call fcn.00569aa0
add esp, 4
mov dword [esi + 8], eax
mov ecx, eax
mov edx, dword [eax]
push 2
call dword [edx + 0x78]
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x568a7c
cmp eax, 3
jle 0x568a57
cmp eax, 6
jne 0x568a7c
mov eax, dword [esi + 0x10]
dec eax
je 0x568a68
dec eax
je 0x568a72
dec eax
jne 0x568a7c
mov ecx, dword [esi + 4]
jmp 0x568a75
mov ecx, dword [esi + 4]
push 2
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 2
call dword [eax + 0x78]
mov eax, dword [esi + 0x10]
dec eax
je 0x568a8d
dec eax
je 0x568a99
dec eax
jne 0x568aa5
mov ecx, dword [esi + 4]
jmp 0x568a9c
mov ecx, dword [esi + 4]
push edi
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0x90]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x60c6d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi], 0x4d3a9c
xorps xmm0, xmm0
mov byte [esi + 0x24], 0x20
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
push 0x24
mov dword [esp + 0x1c], 0
movq qword [esi + 0x34], xmm0
call fcn.005df944
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x56ba5d
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
push 1
mov dword [eax + 0x20], 0
call fcn.0050cf00
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov dword [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x56bea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60c6d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi], 0x4d3ac4
xorps xmm0, xmm0
mov byte [esi + 0x24], 0x21
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
push 0x24
mov dword [esp + 0x1c], 0
movq qword [esi + 0x34], xmm0
call fcn.005df944
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x56bf6d
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
push 1
mov dword [eax + 0x20], 0
call fcn.0050cf00
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov dword [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x56cf30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c758
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4d3c7c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], 0
test eax, eax
je 0x56cf7c
cmp dword [esi + 0x30], 0
je 0x56cf7c
push eax
call fcn.005dfada
add esp, 4
mov ecx, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00596970
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x56d0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c758
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4d3a4c
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x56d11c
cmp dword [esi + 0x30], 0
je 0x56d11c
push eax
call fcn.005dfada
add esp, 4
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00596970
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x56d400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c758
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4d3b8c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], 0
test eax, eax
je 0x56d44c
cmp dword [esi + 0x30], 0
je 0x56d44c
push eax
call fcn.005dfada
add esp, 4
mov ecx, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00596970
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x56d5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c758
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4d3d94
mov eax, dword [esi + 0x40]
mov dword [esp + 0x14], 0
test eax, eax
je 0x56d5ec
cmp dword [esi + 0x34], 0
je 0x56d5ec
push eax
call fcn.005dfada
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
test eax, eax
je 0x56d610
cmp dword [esi + 0x30], 0
je 0x56d610
push eax
call fcn.005dfada
add esp, 4
mov ecx, esi
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00596970
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x56e9f0
Capabilities:
Get hostname
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60c83b
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x30c]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x320]
lea eax, [esp + 0x18]
push 0x2f0
push 0
push eax
call fcn.005e0f30
push 0x2c4
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
push 0
push eax
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x30], 0x4d390c
mov byte [esp + 0x54], 0x64
call fcn.005e0f30
add esp, 0x18
mov dword [esp + 0x304], 0
mov dword [esp + 0x314], 0
call fcn.0054c550
mov ecx, eax
call fcn.0054c650
mov dword [esi + 0x1d0], eax
call fcn.0057c7f0
mov ecx, eax
call fcn.0057d630
test al, al
je 0x56eae1
mov dword [esi + 0x1d0], 0
push esi
mov ecx, ebx
call fcn.0056ece0
push esi
mov ecx, ebx
call fcn.0056ebf0
lea edi, [esi + 0x134]
mov byte [esi + 0x1b3], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56eb03
sub ecx, edx
jne 0x56eb17
push 0x7f
push edi
call dword [0x62938c]
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x56eb20
sub edi, ecx
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x134]
add eax, edi
push 0
push eax
call fcn.005e0f30
mov eax, dword [esp + 0x328]
lea edi, [esp + 0x50]
and eax, 0x13
mov ecx, 0xb0
or eax, 0x10000000
add esp, 0xc
mov dword [esp + 0x40], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0056f5c0
push 1
movzx eax, al
lea ecx, [ebx + 0x14]
push 8
mov dword [esp + 0x220], eax
lea eax, [esp + 0x20]
push 0x2c8
push eax
call fcn.0059c330
test al, al
jne 0x56eb91
xor esi, esi
jmp 0x56eba0
mov esi, dword [esp + 0x304]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x314], 0xffffffff
mov dword [esp + 0x18], 0x4d390c
call fcn.00596970
mov eax, esi
mov ecx, dword [esp + 0x30c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.005e0482
add esp, 0x308
ret 8
Function at 0x56ebf0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x60c880
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x24]
push 0xf
add esi, 0x2ac
xorps xmm0, xmm0
push eax
push 0x4d4080
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esi], xmm0
call dword [0x6290dc]
test eax, eax
je 0x56ecb4
cmp eax, 0x10
jae 0x56ecb4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4ca328
call fcn.00542a00
push 0x10
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 1
call fcn.00543980
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x4ca328
jb 0x56ecb4
push dword [esp + 0xc]
call fcn.005df995
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005e0482
add esp, 0x3c
ret 4

Function at 0x56ece0
Capabilities:
Access peb ldr_data
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x60c8c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0x2d]
push 0x7f
xorps xmm0, xmm0
mov byte [esp + 0x30], 0
lea edi, [esi + 0x270]
push 0
movdqu xmmword [edi], xmm0
push eax
movdqu xmmword [edi + 0x10], xmm0
call fcn.005e0f30
add esp, 0xc
mov dword [esp + 0xc], 0x80
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
call dword [0x629038]
test eax, eax
je 0x56edd2
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0xbc], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x4ca328
call fcn.00542a00
push 0x20
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc0], 1
call fcn.00543980
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x4ca328
jb 0x56edd2
push dword [esp + 0x14]
call fcn.005df995
add esp, 4
mov byte [esi + 0x28f], 0
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e0482
add esp, 0xb0
ret 4
Function at 0x56f5c0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x104], eax
push edi
mov edi, ecx
mov al, byte [edi + 0x1bc]
test al, al
jne 0x56f79b
push ebx
push esi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.005e0f30
add esp, 0xc
lea eax, [esp + 0x10]
push 0x100
push eax
push 0x4d4454
call dword [0x6290dc]
mov esi, eax
call dword [0x629230]
cmp eax, 0xcb
je 0x56f797
test esi, esi
je 0x56f797
cmp esi, 0x20
jae 0x56f797
mov ecx, 0x4d4460
lea eax, [esp + 0x10]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f660
test dl, dl
je 0x56f65c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f660
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f640
xor eax, eax
jmp 0x56f665
sbb eax, eax
or eax, 1
test eax, eax
je 0x56f797
mov ecx, 0x4d4468
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f696
test dl, dl
je 0x56f692
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f696
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f676
xor eax, eax
jmp 0x56f69b
sbb eax, eax
or eax, 1
test eax, eax
je 0x56f797
mov ecx, 0x4d4470
lea eax, [esp + 0x10]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f6d0
test dl, dl
je 0x56f6cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f6d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f6b0
xor eax, eax
jmp 0x56f6d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x56f797
push 8
lea eax, [esp + 0x14]
push 0x4d4478
push eax
call fcn.005e25e0
add esp, 0xc
test eax, eax
jne 0x56f74f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
lea eax, [esp + 0x14]
push 0x4d4484
push eax
call fcn.005e5702
add esp, 0xc
cmp eax, 1
jne 0x56f731
mov eax, dword [esp + 0xc]
inc eax
and eax, 0x800000ff
jns 0x56f728
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, byte [eax + 0x4d3f80]
jmp 0x56f76b
xor edx, edx
test esi, esi
je 0x56f772
movsx ecx, byte [esp + edx + 0x10]
inc edx
movzx eax, bx
xor ecx, eax
movzx ebx, byte [ecx + 0x4d3f80]
cmp edx, esi
jb 0x56f737
jmp 0x56f76b
xor edx, edx
test esi, esi
je 0x56f772
movsx ecx, byte [esp + edx + 0x10]
inc edx
movzx eax, bx
xor ecx, eax
movzx ebx, byte [ecx + 0x4d3f80]
cmp edx, esi
jb 0x56f755
xor eax, eax
cmp ax, bx
jne 0x56f777
mov ebx, 0xff
pop esi
mov byte [edi + 0x1bc], bl
mov al, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005e0482
add esp, 0x108
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
pop edi
xor ecx, esp
call fcn.005e0482
add esp, 0x108
ret
Function at 0x5753c0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x60d3d8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 4], eax
push ebx
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [0x62e558], 0xffffffff
jne 0x57545c
mov dword [esp + 8], 0
call fcn.00578610
push eax
lea ecx, [esp + 0xc]
call fcn.0054d900
cmp dword [0x62e558], 0xffffffff
mov dword [esp + 0x18], 0
je 0x575424
mov bl, 1
jmp 0x575431
call dword [0x629170]
cmp eax, 0xffffffff
jne 0x575446
xor bl, bl
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.0054d940
mov al, bl
jmp 0x57545e
lea ecx, [esp + 8]
mov dword [0x62e558], eax
mov dword [esp + 0x18], 0xffffffff
call fcn.0054d940
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005e0482
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x60d468
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [esp + 0x54]
push 0x69
call dword [eax + 4]
push 0x34
lea eax, [esp + 0x10]
push 0
push eax
call fcn.005e0f30
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0xffffffff
add esp, 0xc
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0xc], 0x4d3eac
mov byte [esp + 0x30], 0x72
mov dword [esp + 0x34], 0
movq qword [esp + 0x38], xmm0
push esi
lea ecx, [edi + 0x58]
mov dword [esp + 0x50], 0
call fcn.0059a850
push 0
or esi, eax
lea ecx, [edi + 0x14]
mov eax, dword [esp + 0x5c]
push 8
mov dword [esp + 0x44], eax
lea eax, [esp + 0x14]
push 0xc
push eax
mov dword [esp + 0x48], esi
call fcn.0059c330
test al, al
je 0x575b9a
cmp dword [esp + 0x14], 0
jne 0x575b9a
mov esi, 1
jmp 0x575b9c
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00596970
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005e0482
add esp, 0x44
ret 8