Function at 0x50fa80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x50fea6
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0x90], 0
lea eax, [0x706320]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0x2a05f200
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], 2
mov dword [esp + 0x90], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x50feb0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x80], eax
mov byte [esp + 0x33], 1
call fcn.005122a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
test eax, eax
jne 0x50fb46
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], edx
xor eax, eax
jmp 0x50fb5e
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
inc eax
cmp eax, edx
jge 0x50fb6e
mov dword [esp + 0x40], eax
mov ebx, dword [ecx + eax*4]
mov ebx, dword [ebx + 0x1c]
jmp 0x50fb98
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov ebp, dword [esp + 0x6c]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
test ebx, ebx
je 0x50fb5d
mov dword [esp + 0x6c], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00472500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x50fb85
test ecx, ecx
je 0x50fe8f
mov eax, dword [ecx + 8]
cmp eax, 0x20797a7d
jne 0x50fc8e
lea eax, [0x79d8a8]
cmp ebx, eax
jne 0x50fc83
movzx ecx, byte [edx + 4]
movzx ebx, byte [edx + 5]
movzx ebp, byte [edx + 6]
movzx edx, byte [edx + 7]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov esi, dword [0x9820a8]
mov edi, dword [0x9820ac]
cmp edi, 0x10
jl 0x50fc2d
mov edi, 0x10
lea eax, [esp + 0x54]
cmp esi, eax
je 0x50fc6b
mov byte [esp + 0x32], cl
mov byte [esp + 0x31], bl
xchg ebp, eax
mov byte [esp + 0x30], al
xchg ebp, eax
mov byte [esp + 0x2f], dl
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00463d10
movzx ecx, byte [esp + 0x32]
movzx edx, byte [esp + 0x2f]
movzx ebx, byte [esp + 0x31]
movzx ebp, byte [esp + 0x30]
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], bl
xchg ebp, eax
mov byte [esp + 0x62], al
xchg ebp, eax
mov byte [esp + 0x63], dl
lea eax, [esp + 0x54]
jmp 0x50fcff
lea eax, [0x79d8bc]
jmp 0x50fb85
cmp eax, 0x71fab03a
jne 0x50fe84
lea eax, [0x79d8bc]
cmp ebx, eax
jne 0x50fb85
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test byte [ebp], al
lea ecx, [ebp + 8]
lea ebx, [esp + 0x44]
cmp ebx, ecx
je 0x50fce9
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call fcn.00463d10
cmp byte [esp + 0x44], 0xfe
jne 0x50fcfb
cmp byte [esp + 0x45], 0xc0
je 0x50fb85
lea eax, [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00512cd0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.00402a00
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x50fd9c
mov dword [esp], 0
lea eax, [0x79c7bc]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
lea ecx, [0x716947]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
lea edx, [0x716885]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
call fcn.0044f350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
jmp 0x50fde4
mov dword [esp], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
lea eax, [0x71681f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
lea ecx, [0x716885]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
call fcn.0044f2b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
mov edx, ecx
mov ecx, dword [ebx + 8]
mov edi, ebx
lea ebx, [ebp + 1]
cmp ecx, ebx
jae 0x50fe5a
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], edi
lea eax, [0x6cd520]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [0x9b1930]
test edx, edx
jne 0x50fe49
mov dword [edi], eax
jmp 0x50fe4e
call fcn.00463350
mov edx, dword [esp + 0x3c]
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x64]
lea ecx, [ebp + 1]
mov dword [edi + 4], ecx
lea ecx, [esi + ebp*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x9b1930]
lea edi, [esi + ebp*8]
test ecx, ecx
jne 0x50fe7a
mov dword [edi], eax
jmp 0x50fb85
call fcn.00463350
jmp 0x50fb85
lea eax, [0x79d8bc]
jmp 0x50fb85
lea eax, [0x79d8bc]
jmp 0x50fb85
call fcn.00461f40
jmp fcn.0050fa80