Function at 0x4e00a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0c11
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x668], edi
mov dword [ebp - 0x654], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x66c], edi
mov dword [ebp - 0x664], eax
mov eax, dword [ebx + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 0x65c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x658], esi
mov dword [ebp - 0x660], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x20], xmm0
xor ecx, ecx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], cx
mov byte [ebp - 4], 1
mov dword [edi + 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov ecx, esi
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0190
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403d10
push 0x100
lea ecx, [ebp - 0x24a]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44a]
push 0x100
push ecx
push 0x100
lea ecx, [ebp - 0x64a]
push ecx
push 3
lea ecx, [ebp - 0x650]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea ecx, [ebp - 0x24a]
add esp, 0x24
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0200
sub ecx, edx
sar ecx, 1
jne 0x4e02b3
mov ecx, dword [ebp - 0x1c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x4e0559
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push str..ws2
push ecx
push eax
push ecx
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x44]
call fcn.00403e90
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4e0285
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4e027b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0523
push ecx
push edx
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0x44]
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.00403990
mov esi, dword [ebp - 0x660]
push 0x3c
call fcn.0052d778
add esp, 4
mov ecx, eax
mov dword [ebp - 0x654], ecx
test esi, esi
jne 0x4e0375
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 1
cmovae eax, dword [ebp - 0x2c]
push esi
push eax
push dword [ebp - 0x65c]
call fcn.004cb9c0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x654], eax
test eax, eax
je 0x4e0346
cmp dword [eax + 4], 0
jne 0x4e0399
mov dword [esi], vtable.MyBinaryRead.0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e0332
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov eax, dword [ebp - 0x654]
add esp, 4
mov dword [eax + 4], 0
push 8
push eax
call fcn.0052d747
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x4e034c
mov dword [esi], vtable.MyBinaryRead.0
mov ecx, esi
call fcn.00407810
push 0x3c
push esi
call fcn.0052d747
push 0x3c
call fcn.0052d778
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 4
push 0
jmp 0x4e037a
mov byte [ebp - 4], 5
push esi
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x65c]
call fcn.004cb9c0
mov byte [ebp - 4], 2
mov esi, eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4e046d
cmp dword [eax + 4], 0
je 0x4e046d
mov eax, dword [esi + 0x34]
lea ecx, [edi + 0x14]
sub eax, 8
push eax
call fcn.00449220
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4e03c9
mov ecx, dword [ecx + 4]
jmp 0x4e03cb
xor ecx, ecx
mov eax, dword [esi + 0x34]
sub eax, 8
push eax
push ecx
push dword [edi + 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x18]
add esp, 0xc
sub eax, dword [edi + 0x14]
push edi
push eax
push 0x581aa0
push 2
push 1
call sub.VCOMP140.DLL__vcomp_fork
add esp, 0x14
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4e0403
mov ecx, dword [ecx + 4]
jmp 0x4e0405
xor ecx, ecx
mov eax, dword [esi + 0x34]
mov eax, dword [ecx + eax - 8]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4e041b
mov ecx, dword [ecx + 4]
jmp 0x4e041d
xor ecx, ecx
mov eax, dword [esi + 0x34]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ebp - 0x658]
mov dword [edi + 8], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0430
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x658]
lea ecx, [edi + 0x20]
call fcn.004039f0
mov eax, dword [ebp - 0x664]
test eax, eax
je 0x4e0473
push dword [edi + 8]
mov ecx, eax
push dword [edi + 4]
push dword [ebp - 0x658]
call fcn.004c6530
jmp 0x4e0473
mov dword [edi], 0xffffffff
cmp dword [0x5e4578], 0
je 0x4e04ae
push 0x10
call fcn.0052d778
add esp, 4
mov dword [ebp - 0x664], eax
push dword [ebp - 0x660]
mov ecx, eax
mov byte [ebp - 4], 6
push 0
push dword [ebp - 0x658]
push dword [ebp - 0x65c]
call fcn.00402ba0
mov dword [edi + 0x38], eax
mov edi, dword [esi + 0x38]
mov dword [esi], vtable.MyBinaryRead.0
test edi, edi
je 0x4e04e5
mov eax, dword [edi + 4]
test eax, eax
je 0x4e04d3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
push 8
push edi
call fcn.0052d747
add esp, 8
mov dword [esi + 0x38], 0
mov ecx, esi
call fcn.00407810
push 0x3c
push esi
call fcn.0052d747
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, 8
jb 0x4e0533
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4e0529
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e0529
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, dword [ebp - 0x668]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.00402990
int3