joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ccd55
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor esi, esi
and dword [esp + 0xc], esi
mov edx, 0x47000006
push eax
push esi
push ecx
mov ebx, ecx
call fcn.004cb00a
mov edi, eax
cmp edi, 0xc0000023
jne 0x4ccdb8
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push esi
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov esi, eax
test esi, esi
jne 0x4ccda3
add edi, 0xfffffff4
jmp 0x4ccde2
lea eax, [esp + 0xc]
mov edx, 0x47000006
push eax
push esi
push ecx
mov ecx, ebx
call fcn.004cb00a
mov edi, eax
test edi, edi
jns 0x4ccdd4
test esi, esi
je 0x4ccde2
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4ccde2
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0x20
push 0x41f7c8
call fcn.004d6e3c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x28], edi
mov ebx, edi
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push edi
push dword [ebp - 0x24]
call dword [0x421264]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xc0000023
je 0x4cdbba
test esi, esi
js 0x4cdc38
mov esi, 0xc000000d
mov dword [ebp - 0x1c], esi
jmp 0x4cdc38
push dword [ebp - 0x20]
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ebx, eax
test ebx, ebx
jne 0x4cdbda
mov esi, 0xc000009a
jmp 0x4cdbb5
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x24]
call dword [0x421264]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
js 0x4cdc38
mov eax, dword [ebx + 0xc]
add eax, 2
push eax
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4cdbd3
push dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ecx
call fcn.004d6f10
add esp, 0xc
mov eax, dword [ebx + 0xc]
shr eax, 1
xor edx, edx
mov ecx, dword [ebp - 0x2c]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x30]
mov dword [eax], ecx
test ebx, ebx
je 0x4cdc4d
push ebx
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004212dc]
cmp esi, 0xc000017d
jne 0x4cdc89
mov dword [ebp - 4], edi
int3
mov eax, esi
call fcn.004d6e81
ret
Function at 0x4ce646
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor eax, eax
mov dword [ebp - 0x10], edx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call fcn.004ce7d4
cmp eax, 1
je 0x4ce684
add eax, 0xfffffffe
cmp eax, 1
ja 0x4ce67a
mov edi, 0x402cbc
jmp 0x4ce689
mov esi, 0xc00000bb
jmp 0x4ce7c4
mov edi, 0x40686c
lea ecx, [ebp - 8]
call fcn.004ce4b7
mov esi, eax
test esi, esi
js 0x4ce774
cmp dword [ebp - 0x14], ebx
je 0x4ce702
mov ecx, dword [ebp - 8]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4ce6a8
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
add eax, eax
push eax
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ebx, eax
test ebx, ebx
jne 0x4ce6e3
mov esi, 0xc000009a
mov edi, dword [ebp - 4]
jmp 0x4ce776
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [0x4211e8]
push 0x401058
push dword [ebp - 0xc]
push ebx
call dword [0x421158]
add esp, 0x18
add edi, 2
push 0x5c
push edi
mov dword [ebp - 0xc], edi
call dword [0x4211a4]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4ce720
mov esi, 0xc000000d
jmp 0x4ce6db
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4ce760
sub edi, dword [ebp - 0xc]
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.004212d8]
mov ecx, eax
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x4ce6d6
lea eax, [edi - 1]
push eax
push dword [ebp - 0xc]
push edi
push ecx
call dword [0x421160]
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4ce769
mov dword [ecx], ebx
mov edi, dword [ebp - 4]
test eax, eax
je 0x4ce776
mov dword [eax], edi
jmp 0x4ce776
mov edi, ebx
cmp dword [ebp - 8], 0
je 0x4ce790
push dword [ebp - 8]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
test esi, esi
jns 0x4ce7c4
test ebx, ebx
je 0x4ce7ad
mov eax, dword fs:[0x30]
push ebx
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4ce7af
xor ebx, ebx
test edi, edi
je 0x4ce7c4
mov eax, dword fs:[0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [fcn.004212dc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cf638
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x16
mov esi, ecx
mov dword [ebp - 0x14], edx
xor ebx, ebx
push 0x4065f8
push esi
mov dword [ebp - 4], ebx
mov edi, ebx
call dword [fcn.004211f8]
add esp, 0xc
test eax, eax
jne 0x4cf7e1
lea eax, [esi + 0x2c]
push 0x5c
push eax
call dword [0x42118c]
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4cf7e1
sub eax, esi
sar eax, 1
add eax, eax
mov dword [ebp - 8], eax
add eax, 2
push eax
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ebx, eax
test ebx, ebx
jne 0x4cf6ae
mov edi, 0xc000009a
jmp 0x4cf7e6
push dword [ebp - 8]
push esi
push ebx
call fcn.004d6f10
mov eax, dword [ebp - 8]
xor ecx, ecx
add esp, 0xc
xor esi, esi
mov word [eax + ebx], cx
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4cf6cb
sub ecx, edx
mov edx, dword [ebp - 0xc]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x4cf6e0
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 - 0x10], eax
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov esi, eax
test esi, esi
jne 0x4cf726
mov edi, 0xc000009a
jmp 0x4cf7b3
push dword [ebp - 0x10]
xor eax, eax
push eax
push esi
call fcn.004d6f1c
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, edx
mov dword [esi + 0x14], eax
mov dword [esi], 3
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x4cf74c
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push edx
lea eax, [ecx + 1]
push eax
lea eax, [esi + 0x18]
push eax
call dword [0x4211e8]
mov edx, dword [ebp - 8]
mov ecx, ebx
add esp, 0xc
lea eax, [ecx + 2]
mov dword [edx + esi], 2
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x4cf781
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ebx
lea eax, [ecx + 1]
push eax
lea eax, [edx + 0x14]
add eax, esi
push eax
call dword [0x4211e8]
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword fs:[0x30]
push ebx
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call dword [fcn.004212dc]
test edi, edi
jns 0x4cf7e6
test esi, esi
je 0x4cf7e6
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4cf7e6
mov edi, 0xc000000d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0693
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]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.004cf7f6
mov esi, eax
test esi, esi
js 0x4d0741
mov ecx, dword [ebp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4d06bc
mov eax, dword [ebp - 4]
sub ecx, edx
sar ecx, 1
push edi
mov ebx, dword [eax + 8]
mov eax, dword fs:[0x30]
lea edi, [ecx*2 + 2]
add ebx, 0xc
add ebx, edi
push ebx
push 0
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov esi, eax
test esi, esi
jne 0x4d06ff
mov esi, 0xc000009a
xor ebx, ebx
jmp 0x4d0740
mov dword [esi], 1
mov dword [esi + 8], 5
mov dword [esi + 4], ebx
mov eax, dword [ebp - 4]
push dword [eax + 8]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.004d6f10
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, 0xc
add eax, esi
push eax
call fcn.004d6f10
mov eax, dword [ebp + 0x10]
add esp, 0x18
xor ebx, ebx
mov dword [eax], esi
mov esi, ebx
pop edi
cmp dword [ebp - 4], 0
je 0x4d075a
push dword [ebp - 4]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [fcn.004212dc]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d0ac7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push ecx
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov ebx, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [fcn.0042132c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [0x42122c]
test eax, eax
js 0x4d0c18
push esi
lea eax, [ebp - 0x10]
push eax
call dword [fcn.0042132c]
mov edi, esi
mov dword [ebp - 8], esi
jmp 0x4d0b6f
cmp dword [ebp - 0xc], 0
je 0x4d0b48
push dword [ebp - 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
mov eax, dword [ebp - 8]
mov word [ebp - 0xe], ax
lea edi, [eax + 2]
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4d0c1f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [0x421234]
mov esi, eax
cmp esi, 0xc0000023
je 0x4d0b2e
push dword [ebp - 4]
call dword [fcn.004212c0]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
test esi, esi
js 0x4d0c00
movzx ecx, word [ebp - 0x10]
xor edx, edx
shr ecx, 1
xor esi, esi
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
mov word [ebp - 0xe], di
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [0x42122c]
test eax, eax
jns 0x4d0b6f
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
je 0x4d0bfc
push dword [ebp - 4]
call dword [fcn.004212c0]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
test esi, esi
jns 0x4d0c16
test eax, eax
je 0x4d0c16
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xc000009a
jmp 0x4d0be6
Function at 0x4d16a5
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov eax, edx
xor ecx, ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], ecx
mov ebx, ecx
mov dword [eax], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
call fcn.004d1808
mov esi, eax
test esi, esi
js 0x4d1724
mov ecx, dword [esp + 0xc]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4d16e1
lea eax, [esp + 0x20]
sub ecx, edx
push eax
lea eax, [esp + 0x28]
sar ecx, 1
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea esi, [ecx + 1]
push 0x4066c0
push esi
push dword [esp + 0x24]
call dword [0x421170]
add esp, 0x1c
cmp eax, 4
je 0x4d174a
mov esi, 0xc0000001
xor edi, edi
cmp dword [esp + 0xc], 0
je 0x4d1741
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], ebx
jne 0x4d17c1
cmp dword [esp + 0x18], ebx
jne 0x4d17c1
add esi, 0xa
xor edi, edi
lea eax, [esi + esi]
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ebx, eax
test ebx, ebx
jne 0x4d177c
mov esi, 0xc000009a
jmp 0x4d1726
push dword [esp + 0xc]
push 0x406710
push 0x40171c
push esi
push ebx
call dword [fcn.004211f4]
add esp, 0x14
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.004d1aca
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x4d17ca
push ecx
push ecx
mov ecx, edi
call fcn.004d192f
mov esi, eax
test esi, esi
js 0x4d17ca
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
jmp 0x4d17c6
mov esi, 0xc0000001
test esi, esi
jns 0x4d17e3
test edi, edi
je 0x4d17e3
mov eax, dword fs:[0x30]
push edi
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4d17e5
xor edi, edi
test ebx, ebx
je 0x4d1726
mov eax, dword fs:[0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4d1726
Function at 0x4d1aca
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
push edi
push ecx
lea eax, [esp + 0x24]
xor esi, esi
push eax
mov ebx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
call dword [fcn.0042132c]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x34], esi
push eax
mov dword [esp + pe_nt_image_headers32], 0x40
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [0x42121c]
test eax, eax
js 0x4d1c4b
push esi
lea eax, [esp + 0x1c]
push eax
call dword [fcn.0042132c]
mov edi, esi
mov dword [esp + 0x14], esi
jmp 0x4d1b88
cmp dword [esp + 0x1c], 0
je 0x4d1b5e
push dword [esp + 0x1c]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
mov eax, dword [esp + 0x14]
mov word [esp + 0x1a], ax
lea edi, [eax + 2]
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d1c52
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x421218]
mov esi, eax
cmp esi, 0xc0000023
je 0x4d1b42
push dword [esp + 0x10]
call dword [0x4212fc]
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
js 0x4d1c33
movzx ecx, word [esp + 0x18]
xor edx, edx
shr ecx, 1
xor esi, esi
mov word [eax + ecx*2], dx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x22], di
push eax
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 [0x42121c]
test eax, eax
jns 0x4d1b88
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
cmp dword [esp + 0x10], 0
je 0x4d1c2f
push dword [esp + 0x10]
call dword [0x4212fc]
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
jns 0x4d1c49
test eax, eax
je 0x4d1c49
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xc000009a
jmp 0x4d1c15
Function at 0x4d4055
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 4], 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x58], edx
jb 0x4d416e
cmp dword [ecx + 0x18], 0x14
jb 0x4d416e
push 7
lea edi, [ecx + 0x1c]
push 0x4068a4
push edi
call dword [0x421174]
add esp, 0xc
test eax, eax
jne 0x4d416e
mov esi, dword [edi + 0xc]
cmp esi, 0x14
jb 0x4d416e
cmp dword [edi + 8], eax
je 0x4d416e
add esi, 0xffffffec
lea eax, [edi + 0x14]
push esi
push eax
call dword [0x4211a0]
pop ecx
pop ecx
cmp eax, esi
je 0x4d416e
mov esi, dword [edi + 0xc]
mov eax, dword fs:[0x30]
sub esi, 0x14
push esi
push 0
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov ebx, eax
test ebx, ebx
jne 0x4d40f2
mov esi, 0xc000009a
jmp 0x4d4173
push esi
lea eax, [edi + 0x14]
push eax
push ebx
call fcn.004d6f10
push ebx
call dword [0x4211ac]
push 0x4068ac
push ebx
call dword [fcn.00421164]
add esp, 0x18
test eax, eax
jne 0x4d411e
mov esi, 0xc0000225
jmp 0x4d4159
add eax, 0x14
sub esi, eax
add esi, ebx
cmp esi, 0x4e
jb 0x4d4117
push 0x13
mov esi, eax
lea edi, [ebp - 0x54]
pop ecx
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.0042132c]
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
call dword [fcn.00421328]
mov esi, eax
mov ecx, dword fs:[0x30]
push ebx
push 0
push dword [ecx + 0x18]
call dword [fcn.004212dc]
jmp 0x4d4173
mov esi, 0xc000000d
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6814
mov esp, ebp
pop ebp
ret
Function at 0x4d45a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov al, byte [esi]
and al, 0x7f
cmp al, 0x7f
jne 0x4d45c0
mov eax, 0xc000003a
jmp 0x4d46df
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
add edx, esi
push ebx
xor ebx, ebx
mov cl, byte [edx]
mov al, cl
and al, 0x7f
cmp al, 0x7f
je 0x4d46d9
cmp cl, 4
jne 0x4d4601
cmp byte [edx + 1], cl
jne 0x4d4601
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
cmp ecx, 4
jb 0x4d464b
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 0x4d45e0
test ebx, ebx
je 0x4d46d9
mov eax, dword fs:[0x30]
add ebx, 2
push ebx
push 0
mov dword [ebp - 8], ebx
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4d4655
mov eax, 0xc000009a
jmp 0x4d46de
mov eax, 0xc0000095
jmp 0x4d46de
push edi
movzx edi, byte [esi + 3]
mov ecx, eax
movzx eax, byte [esi + 2]
shl edi, 8
or edi, eax
mov dword [ebp - 4], ecx
add edi, esi
mov dl, byte [edi]
mov al, dl
and al, 0x7f
cmp al, 0x7f
je 0x4d46c2
mov ebx, ecx
cmp dl, 4
jne 0x4d46a0
cmp byte [edi + 1], dl
jne 0x4d46a0
movzx esi, byte [edi + 3]
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
lea eax, [edi + 4]
sub esi, 4
push esi
push eax
push ebx
call fcn.004d6f10
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 0x4d4676
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
pop edi
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
xor eax, eax
jmp 0x4d46de
mov eax, 0xc0000225
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d555f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
mov ebx, edi
call fcn.004d57be
lea edx, [ebp - 4]
test al, al
je 0x4d5597
mov ecx, 0x4069c0
call fcn.004d58b3
mov esi, eax
cmp esi, 0xc0000452
jne 0x4d55a3
lea edx, [ebp - 4]
mov ecx, 0x406a08
call fcn.004d58b3
mov esi, eax
test esi, esi
js 0x4d5639
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edi
push eax
call dword [fcn.0042132c]
mov edi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [0x421218]
mov esi, eax
cmp esi, 0xc0000023
je 0x4d55e0
test esi, esi
js 0x4d563c
mov esi, 0xc0000001
jmp 0x4d563c
mov eax, dword [ebp - 8]
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov edi, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
jne 0x4d5608
mov esi, 0xc000009a
jmp 0x4d563c
mov ax, word [ebp - 8]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0
push eax
push edi
mov dword [ebp - 0x10], ebx
call dword [0x421218]
mov esi, eax
test esi, esi
js 0x4d563c
movzx eax, word [ebp - 0x14]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
jmp 0x4d563c
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d5647
push edi
call dword [0x4212fc]
test esi, esi
jns 0x4d5661
test ebx, ebx
je 0x4d5661
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [fcn.004212dc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d566f
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov ebx, edi
mov dword [esp + 0xc], edi
call fcn.004d555f
mov esi, eax
test esi, esi
js 0x4d5795
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
call fcn.004d1eb4
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x4d573c
xor ecx, ecx
cmp dword [edi], ecx
jne 0x4d5737
push 0x406a4c
push dword [esp + 0x10]
call dword [fcn.00421164]
pop ecx
pop ecx
test eax, eax
je 0x4d56db
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0xc]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4d56e4
mov eax, dword fs:[0x30]
sub ecx, edx
sar ecx, 1
lea esi, [ecx*2 + 0x2a]
push esi
push ebx
push dword [eax + 0x18]
call dword [fcn.004212d8]
mov edi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x4d571c
mov esi, 0xc000009a
jmp 0x4d573c
xor ecx, ecx
lea eax, [edi + 0x30]
cmp dword [edi + 4], ecx
jbe 0x4d5737
cmp byte [eax + 0x21], 0
jne 0x4d5755
inc ecx
add eax, 0x90
cmp ecx, dword [edi + 4]
jb 0x4d5726
mov esi, 0xc0000452
test edi, edi
je 0x4d577a
mov eax, dword fs:[0x30]
push edi
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
jmp 0x4d577c
push dword [eax + 0x18]
shr esi, 1
push dword [esp + 0x10]
push 0x406a64
push esi
push ebx
call dword [fcn.004211f4]
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [eax], ebx
xor eax, eax
mov esi, eax
jmp 0x4d573c
xor edi, edi
test esi, esi
jns 0x4d5795
test ebx, ebx
je 0x4d5795
mov eax, dword fs:[0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
cmp dword [esp + 0xc], 0
je 0x4d57b0
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [fcn.004212dc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d6ab3
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41f848
call fcn.004d6e3c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d6b13
cmp eax, 0xffffffff
je 0x4d6b13
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4d6b0c
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4d6b0c
cmp edx, 0x10000000
jae 0x4d6b0c
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4d6b09
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.004d6e81
ret 4

Function at 0x4d6b74
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4d6bb2
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4d6baa
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4d6bb4
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4d6b9a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d6c94
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 0x4d6caa
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4d6cc5
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret