joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53641e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov ebx, edi
call fcn.0053668e
lea esi, [esp + 0x10]
test al, al
je 0x536459
push 0x4286aa
call fcn.00536780
mov esi, eax
cmp esi, 0xc0000452
jne 0x536465
lea esi, [esp + 0x10]
push 0x4286ec
call fcn.00536780
mov esi, eax
test esi, esi
js 0x536507
push edi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edi
call dword [fcn.0042a5fc]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x42a5d8]
mov esi, eax
cmp esi, 0xc0000023
je 0x5364a7
test esi, esi
js 0x53650b
mov esi, 0xc0000001
jmp 0x53650b
mov eax, dword [esp + 0x14]
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [0x42a510]
mov edi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x5364d1
mov esi, 0xc000009a
jmp 0x53650b
mov ax, word [esp + 0x14]
mov word [esp + 0x1a], ax
push 0
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x28], ebx
call dword [0x42a5d8]
mov esi, eax
test esi, esi
js 0x53650b
movzx eax, word [esp + 0x18]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x53650b
mov edi, dword [esp + 0x10]
test edi, edi
je 0x536516
push edi
call dword [0x42a4f4]
test esi, esi
jns 0x536530
test ebx, ebx
je 0x536530
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [fcn.0042a514]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x538214
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x53822a
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x538245
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x538254
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x538292
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x53828a
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x538294
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x53827a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5727f3
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov edx, edi
test esi, esi
je 0x572864
test eax, eax
je 0x572864
add eax, esi
lea ebx, [esi + 0x10040]
mov dword [ebp - 4], eax
cmp ebx, eax
jbe 0x57285d
mov ebx, eax
jmp 0x57285d
mov ecx, dword [eax - 4]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x57285a
lea eax, [esi + 0xf8]
add eax, ecx
cmp eax, dword [ebp - 4]
jae 0x57285a
cmp dword [ecx + esi], 0x4550
jne 0x57285a
mov eax, 0x14c
cmp word [ecx + esi + 4], ax
jne 0x57285a
push esi
call fcn.00572872
mov edi, eax
mov ecx, edi
or ecx, edx
jne 0x572864
add esi, dword [ebp + 8]
lea eax, [esi + 0x40]
cmp eax, ebx
jb 0x57281d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x572bdc
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x572c67
mov edx, dword [ebp + 8]
test edx, edx
je 0x572c67
push ebx
lea eax, [esi + edx]
lea ebx, [esi + 0x10040]
mov dword [ebp - 8], eax
cmp ebx, eax
jbe 0x572c06
mov ebx, eax
push edi
mov edi, esi
lea eax, [esi + 0x40]
jmp 0x572c61
mov ecx, dword [eax - 4]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x572c58
lea eax, [edi + 0xf8]
add eax, ecx
cmp eax, dword [ebp - 8]
jae 0x572c58
cmp dword [ecx + edi], 0x4550
jne 0x572c58
mov eax, 0x14c
cmp word [ecx + edi + 4], ax
jne 0x572c58
mov eax, esi
sub eax, edi
add eax, edx
push eax
push edi
call fcn.00572c72
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x572c65
mov edx, dword [ebp + 8]
jmp 0x572c5b
mov ecx, dword [ebp - 4]
add edi, dword [ebp + 0xc]
lea eax, [edi + 0x40]
cmp eax, ebx
jb 0x572c0e
pop edi
pop ebx
mov eax, ecx
leave
ret 8
Function at 0x5768fe
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00576484
mov esi, eax
test esi, esi
js 0x5769b1
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x57692b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub ecx, edx
sar ecx, 1
add eax, 0xc
lea ebx, [ecx*2 + 2]
add eax, ebx
push eax
mov dword [ebp + 0xc], eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov esi, eax
test esi, esi
jne 0x576970
mov esi, 0xc000009a
xor ebx, ebx
jmp 0x5769b1
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov dword [esi], 1
mov dword [esi + 8], 5
mov eax, dword [ebp - 4]
push dword [eax + 8]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.00580eee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push ebx
push dword [ebp + 0x10]
add eax, 0xc
add eax, esi
push eax
call fcn.00580eee
add esp, 0x18
xor ebx, ebx
mov dword [edi], esi
mov esi, ebx
cmp dword [ebp - 4], 0
je 0x5769ca
push dword [ebp - 4]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x57734c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor edx, edx
mov esi, 0x420b1e
push edi
mov ebx, eax
mov dword [ebp - 4], edx
mov edi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x577368
sub esi, ecx
sar esi, 1
push esi
push 0x420b1e
push ebx
call dword [fcn.00423548]
add esp, 0xc
test eax, eax
jne 0x57750c
lea eax, [ebx + esi*2]
push 0x5c
push eax
call dword [0x423534]
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
je 0x57750c
sub eax, ebx
sar eax, 1
add eax, eax
mov dword [ebp - 8], eax
add eax, 2
push eax
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5773da
mov edi, 0xc000009a
jmp 0x577511
push dword [ebp - 8]
push ebx
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00580eee
mov eax, dword [ebp - 8]
add esp, 0xc
xor ecx, ecx
mov word [eax + ebx], cx
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x5773f8
sub ecx, edx
mov edx, esi
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x57740d
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 0x2e]
mov dword [ebp - 8], eax
lea eax, [eax + ecx*2]
add eax, 0x16
push eax
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov esi, eax
test esi, esi
jne 0x577453
mov edi, 0xc000009a
jmp 0x5774de
push dword [ebp - 0xc]
xor eax, eax
push eax
push esi
call fcn.00580efa
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, edx
mov dword [esi + 0x14], eax
lea eax, [ecx + 2]
add esp, 0xc
mov dword [esi], 3
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x577479
sub ecx, dword [ebp - 0x10]
push edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.0058050d
mov edx, dword [ebp - 8]
mov ecx, ebx
lea eax, [ecx + 2]
add esp, 0xc
mov dword [edx + esi], 2
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x5774ad
sub ecx, dword [ebp - 0x10]
push ebx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [edx + 0x14]
add eax, esi
push eax
call fcn.0058050d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx], eax
push ebx
mov ebx, dword [fcn.004236cc]
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call ebx
test edi, edi
jns 0x577511
test esi, esi
je 0x577511
push esi
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call ebx
jmp 0x577511
mov edi, 0xc000000d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x579214
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0x18
push 0x4212f8
call fcn.00580ca0
xor edi, edi
mov dword [ebp - 0x24], edi
mov ebx, edi
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push edi
push dword [ebp + 8]
call dword [0x423648]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xc0000023
je 0x579259
test esi, esi
js 0x5792d7
mov esi, 0xc000000d
mov dword [ebp - 0x1c], esi
jmp 0x5792d7
push dword [ebp - 0x20]
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov ebx, eax
test ebx, ebx
jne 0x579279
mov esi, 0xc000009a
jmp 0x579254
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp + 8]
call dword [0x423648]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
js 0x5792d7
mov eax, dword [ebx + 0xc]
add eax, 2
push eax
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x579272
push dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ecx
call fcn.00580eee
add esp, 0xc
mov eax, dword [ebx + 0xc]
shr eax, 1
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov word [ecx + eax*2], dx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ebx, ebx
je 0x5792ec
push ebx
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004236cc]
cmp esi, 0xc000017d
jne 0x579328
mov dword [ebp - 4], edi
int3
mov eax, esi
call fcn.00580ce5
ret 8
Function at 0x579d94
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
push edi
mov edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
call fcn.00579f26
cmp eax, 1
je 0x579dce
add eax, 0xfffffffe
cmp eax, 1
ja 0x579dc4
mov eax, 0x420ed0
jmp 0x579dd3
mov esi, 0xc00000bb
jmp 0x579f19
mov eax, 0x420ebc
push ebx
lea ebx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.00579bfc
mov esi, eax
test esi, esi
js 0x579ec8
cmp dword [ebp + 8], edi
je 0x579e4b
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x579df6
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 2]
lea eax, [ebx + ebx]
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x579e32
mov esi, 0xc000009a
mov ebx, dword [ebp - 4]
jmp 0x579eca
push dword [ebp - 0xc]
push ebx
push edi
call fcn.0058050d
push 0x420bc8
push ebx
push edi
call fcn.00580481
add esp, 0x18
mov ebx, dword [ebp - 0x10]
add ebx, 2
push 0x5c
push ebx
call dword [0x423604]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x579e6c
mov esi, 0xc000000d
mov edi, dword [ebp - 8]
jmp 0x579e2a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x579eb1
sub edi, ebx
sar edi, 1
inc edi
lea eax, [edi + edi]
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
cmp dword [ebp - 8], 0
mov ecx, eax
mov dword [ebp - 4], ecx
jne 0x579e9f
mov esi, 0xc000009a
jmp 0x579e67
lea eax, [edi - 1]
push eax
push ebx
push edi
push ecx
call fcn.0058057a
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 8]
test ecx, ecx
je 0x579ebd
mov dword [ecx], edi
mov ebx, dword [ebp - 4]
test eax, eax
je 0x579eca
mov dword [eax], ebx
jmp 0x579eca
mov ebx, edi
cmp dword [ebp - 0xc], 0
je 0x579ee4
push dword [ebp - 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
test esi, esi
jns 0x579f18
test edi, edi
je 0x579f01
mov eax, dword fs:[0x30]
push edi
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [fcn.004236cc]
jmp 0x579f03
xor edi, edi
test ebx, ebx
je 0x579f18
mov eax, dword fs:[0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [fcn.004236cc]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x57ace6
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [fcn.00423718]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [0x423624]
test eax, eax
js 0x57ae36
push edi
lea eax, [ebp - 0xc]
push eax
call esi
mov ebx, edi
mov dword [ebp + 8], edi
mov edi, dword [0x4236b4]
jmp 0x57ad92
cmp dword [ebp - 8], 0
je 0x57ad6b
push dword [ebp - 8]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, dword [ebp + 8]
lea ebx, [eax + 2]
push ebx
mov word [ebp - 0xa], ax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov dword [ebp - 8], eax
test eax, eax
je 0x57ae3d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [0x423638]
mov esi, eax
cmp esi, 0xc0000023
je 0x57ad51
push dword [ebp - 4]
call edi
and dword [ebp - 4], 0
mov eax, dword [ebp - 8]
test esi, esi
js 0x57ae1e
movzx ecx, word [ebp - 0xc]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
push 1
lea eax, [ebp - 4]
push eax
mov word [ebp - 0xa], bx
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [0x423624]
test eax, eax
jns 0x57ad92
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [ebp - 4], 0
je 0x57ae1a
push dword [ebp - 4]
call edi
and dword [ebp - 4], 0
mov eax, dword [ebp - 8]
test esi, esi
jns 0x57ae34
test eax, eax
je 0x57ae34
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, 0xc000009a
jmp 0x57ae08
Function at 0x57b20a
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
xor ecx, ecx
push esi
push edi
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], ecx
mov edi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [eax], ecx
call fcn.0057b42e
mov esi, eax
xor ebx, ebx
test esi, esi
js 0x57b403
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x57b249
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
sub ecx, edx
lea eax, [esp + 0x24]
push eax
sar ecx, 1
lea esi, [ecx + 1]
push 0x420d7e
push esi
push dword [esp + 0x28]
call fcn.005803ac
add esp, 0x1c
cmp eax, 4
je 0x57b290
mov esi, 0xc0000001
jmp 0x57b403
cmp dword [esp + 0x18], ebx
jne 0x57b3b0
cmp dword [esp + 0x1c], ebx
jne 0x57b3b0
add esi, 0xa
lea eax, [esi + esi]
push eax
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
mov ebx, dword [fcn.004236c8]
call ebx
mov edi, eax
test edi, edi
jne 0x57b2cf
mov esi, 0xc000009a
xor ebx, ebx
jmp 0x57b403
push dword [esp + 0x10]
push 0x420dce
push 0x420de2
push esi
push edi
call fcn.00580460
add esp, 0x14
lea eax, [esp + 0xc]
push eax
push edi
call fcn.0057b6e0
mov esi, eax
test esi, esi
js 0x57b3b9
push dword [esp + 0xc]
call fcn.0057b548
mov esi, eax
test esi, esi
js 0x57b3b9
cmp dword [ebp + 8], 0
jne 0x57b3a3
push 0x420dec
push edi
call dword [fcn.0042352c]
pop ecx
pop ecx
test eax, eax
je 0x57b330
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x57b337
sub ecx, edx
sar ecx, 1
lea esi, [ecx*2 + 2]
push esi
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call ebx
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x57b36d
mov esi, 0xc000009a
jmp 0x57b3b9
push esi
push edi
push ebx
call fcn.00580eee
mov eax, dword fs:[0x30]
add esp, 0xc
push dword [esp + 0xc]
xor esi, esi
push esi
push dword [eax + 0x18]
call dword [fcn.004236cc]
lea eax, [esp + 0xc]
push eax
push ebx
mov dword [esp + 0x14], esi
call fcn.0057b6e0
mov esi, eax
test esi, esi
js 0x57b3b9
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor ebx, ebx
jmp 0x57b3b5
mov esi, 0xc0000001
test esi, esi
jns 0x57b3d5
xor ebx, ebx
cmp dword [esp + 0xc], ebx
je 0x57b3d5
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004236cc]
test edi, edi
je 0x57b3ea
mov eax, dword fs:[0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57b403
push eax
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004236cc]
cmp dword [esp + 0x10], 0
je 0x57b41e
push dword [esp + 0x10]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004236cc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x57b6e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [fcn.00423718]
push edi
push dword [ebp + 8]
lea eax, [esp + 0x24]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
call esi
lea eax, [esp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x38], edi
mov dword [esp + pe_nt_image_headers32], 0x40
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [0x423618]
test eax, eax
js 0x57b85c
push edi
lea eax, [esp + 0x1c]
push eax
call esi
mov ebx, edi
mov dword [esp + 0x14], edi
mov edi, dword [0x4236ec]
jmp 0x57b7a2
cmp dword [esp + 0x1c], 0
je 0x57b778
push dword [esp + 0x1c]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, dword [esp + 0x14]
lea ebx, [eax + 2]
push ebx
mov word [esp + 0x1e], ax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57b865
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x423614]
mov esi, eax
cmp esi, 0xc0000023
je 0x57b75c
push dword [esp + 0x10]
call edi
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
js 0x57b844
movzx ecx, word [esp + 0x18]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
xor esi, esi
push 1
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x26], bx
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x38], esi
mov dword [esp + pe_nt_image_headers32], 0x40
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [0x423618]
test eax, eax
jns 0x57b7a2
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [esp + 0x10], 0
je 0x57b840
push dword [esp + 0x10]
call edi
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
jns 0x57b85a
test eax, eax
je 0x57b85a
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, 0xc000009a
jmp 0x57b82a
Function at 0x57da9a
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x422000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0x1c
mov dword [ebp - 0x58], eax
jb 0x57dbb6
cmp dword [edi + 0x18], 0x14
jb 0x57dbb6
push 7
add edi, 0x1c
push 0x420f22
push edi
call dword [0x423524]
add esp, 0xc
test eax, eax
jne 0x57dbb6
mov esi, dword [edi + 0xc]
cmp esi, 0x14
jb 0x57dbb6
cmp dword [edi + 8], eax
je 0x57dbb6
add esi, 0xffffffec
lea eax, [edi + 0x14]
push esi
push eax
call fcn.0058064c
pop ecx
pop ecx
cmp eax, esi
je 0x57dbb6
mov esi, dword [edi + 0xc]
mov eax, dword fs:[0x30]
sub esi, 0x14
push esi
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov ebx, eax
test ebx, ebx
jne 0x57db3b
mov esi, 0xc000009a
jmp 0x57dbbb
push esi
lea eax, [edi + 0x14]
push eax
push ebx
call fcn.00580eee
push ebx
call fcn.005800ec
push 0x420f2a
push ebx
call dword [fcn.0042352c]
add esp, 0x18
test eax, eax
jne 0x57db66
mov esi, 0xc0000225
jmp 0x57dba1
add eax, 0x14
sub esi, eax
add esi, ebx
cmp esi, 0x4e
jb 0x57db5f
push 0x13
mov esi, eax
pop ecx
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov word [ebp - 8], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [fcn.00423718]
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
call dword [0x423714]
mov esi, eax
mov ecx, dword fs:[0x30]
push ebx
push 0
push dword [ecx + 0x18]
call dword [fcn.004236cc]
jmp 0x57dbbb
mov esi, 0xc000000d
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005800be
leave
ret 4
Function at 0x57df2a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
mov al, byte [esi]
and al, 0x7f
cmp al, 0x7f
jne 0x57df47
mov eax, 0xc000003a
jmp 0x57e066
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
add edx, esi
mov cl, byte [edx]
mov al, cl
push ebx
and al, 0x7f
xor ebx, ebx
cmp al, 0x7f
je 0x57e060
cmp cl, 4
jne 0x57df88
cmp byte [edx + 1], cl
jne 0x57df88
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
cmp ecx, 4
jb 0x57dfd2
lea eax, [ecx - 4]
add ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
add edx, ecx
mov cl, byte [edx]
mov al, cl
and al, 0x7f
cmp al, 0x7f
jne 0x57df67
test ebx, ebx
je 0x57e060
mov eax, dword fs:[0x30]
add ebx, 2
push ebx
push 0
push dword [eax + 0x18]
mov dword [ebp - 8], ebx
call dword [fcn.004236c8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x57dfdc
mov eax, 0xc000009a
jmp 0x57e065
mov eax, 0xc0000095
jmp 0x57e065
push edi
movzx edi, byte [esi + 3]
mov ecx, eax
movzx eax, byte [esi + 2]
shl edi, 8
or edi, eax
add edi, esi
mov dl, byte [edi]
mov al, dl
and al, 0x7f
mov dword [ebp - 4], ecx
cmp al, 0x7f
je 0x57e049
mov ebx, ecx
cmp dl, 4
jne 0x57e027
cmp byte [edi + 1], dl
jne 0x57e027
movzx esi, byte [edi + 3]
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
sub esi, 4
push esi
lea eax, [edi + 4]
push eax
push ebx
call fcn.00580eee
add esp, 0xc
add ebx, esi
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
add edi, ecx
mov dl, byte [edi]
mov al, dl
and al, 0x7f
cmp al, 0x7f
jne 0x57dffd
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor eax, eax
pop edi
jmp 0x57e065
mov eax, 0xc0000225
pop ebx
pop esi
leave
ret 8