Function at 0x4dfaf0
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 0x5a0db1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x5de040]
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 0x4dfbe0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
push 0x100
lea ecx, [ebp - 0x24a]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova 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 [0x5a46dc]
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 0x4dfc50
sub ecx, edx
sar ecx, 1
jne 0x4dfd03
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x4dffa9
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 4
cmova eax, dword [ebp - 0x2c]
push str..ws2
push ecx
push eax
push ecx
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x44]
call fcn.00403e60
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4dfcd5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4dfccb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dff73
push ecx
push edx
call fcn.0052d5b7
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.00403a20
mov esi, dword [ebp - 0x660]
push 0x3c
call fcn.0052d5e8
add esp, 4
mov ecx, eax
mov dword [ebp - 0x654], ecx
test esi, esi
jne 0x4dfdc5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
push 1
cmova eax, dword [ebp - 0x2c]
push esi
push eax
push dword [ebp - 0x65c]
call fcn.004cb280
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x654], eax
test eax, eax
je 0x4dfd96
cmp dword [eax + 4], 0
jne 0x4dfde9
mov dword [esi], vtable.MyBinaryRead.0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4dfd82
push ecx
call dword [0x5a46f8]
mov eax, dword [ebp - 0x654]
add esp, 4
mov dword [eax + 4], 0
push 8
push eax
call fcn.0052d5b7
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x4dfd9c
mov dword [esi], vtable.MyBinaryRead.0
mov ecx, esi
call fcn.004079f0
push 0x3c
push esi
call fcn.0052d5b7
push 0x3c
call fcn.0052d5e8
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 4
push 0
jmp 0x4dfdca
mov byte [ebp - 4], 5
push esi
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x65c]
call fcn.004cb280
mov byte [ebp - 4], 2
mov esi, eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4dfebd
cmp dword [eax + 4], 0
je 0x4dfebd
mov eax, dword [esi + 0x34]
lea ecx, [edi + 0x14]
sub eax, 8
push eax
call fcn.00449120
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4dfe19
mov ecx, dword [ecx + 4]
jmp 0x4dfe1b
xor ecx, ecx
mov eax, dword [esi + 0x34]
sub eax, 8
push eax
push ecx
push dword [edi + 0x14]
call fcn.00580dbb
mov eax, dword [edi + 0x18]
add esp, 0xc
sub eax, dword [edi + 0x14]
push edi
push eax
push 0x581c20
push 2
push 1
call fcn.00593348
add esp, 0x14
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4dfe53
mov ecx, dword [ecx + 4]
jmp 0x4dfe55
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 0x4dfe6b
mov ecx, dword [ecx + 4]
jmp 0x4dfe6d
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 0x4dfe80
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x658]
lea ecx, [edi + 0x20]
call fcn.00403a80
mov eax, dword [ebp - 0x664]
test eax, eax
je 0x4dfec3
push dword [edi + 8]
mov ecx, eax
push dword [edi + 4]
push dword [ebp - 0x658]
call fcn.004c5db0
jmp 0x4dfec3
mov dword [edi], 0xffffffff
cmp dword [0x5e4378], 0
je 0x4dfefe
push 0x10
call fcn.0052d5e8
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.00402c40
mov dword [edi + 0x38], eax
mov edi, dword [esi + 0x38]
mov dword [esi], vtable.MyBinaryRead.0
test edi, edi
je 0x4dff35
mov eax, dword [edi + 4]
test eax, eax
je 0x4dff23
push eax
call dword [0x5a46f8]
add esp, 4
mov dword [edi + 4], 0
push 8
push edi
call fcn.0052d5b7
add esp, 8
mov dword [esi + 0x38], 0
mov ecx, esi
call fcn.004079f0
push 0x3c
push esi
call fcn.0052d5b7
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, 7
jbe 0x4dff83
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4dff79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4dff79
call dword [0x5a47c4]
push ecx
push edx
call fcn.0052d5b7
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.0052d235
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.00402a30
int3