Function at 0x4f3e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4f438a
sub esp, 0x90
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x4f43a0]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.004b9900
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x4f3fb1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x4f3f8d
mov ebx, dword [esp + 0x24]
lea ebp, [0x6f1b98]
cmp ebx, ebp
jne 0x4f3f87
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
lea ecx, [0x66f4a0]
mov dword [esp], ecx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x4f3f4a
mov ecx, dword [esp + 0x74]
jmp 0x4f3f55
call fcn.00468030
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x4f3f71
mov ecx, dword [esp + 0x7c]
jmp 0x4f3f7c
call fcn.00468030
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x6f1bd4]
jmp 0x4f3f91
mov ecx, eax
mov eax, edx
jmp 0x4f3f91
mov ecx, eax
mov eax, edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x94]
mov ebp, dword [eax + 0x138]
mov dword [esp + 0x30], ebp
cmp ebp, 2
je 0x4f3fdf
cmp ebp, 3
xchg esi, ebx
setne bl
xchg esi, ebx
jmp 0x4f3fe1
xor esi, esi
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x134]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x144]
mov dword [esp + 0x44], ebx
mov ebp, dword [eax + 0x140]
mov dword [esp + 0x60], ebp
lea edi, [0x67f6c0]
mov dword [esp], edi
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 1
sete dl
mov byte [eax + 0x12d], dl
movzx edx, byte [esp + 0x2f]
mov byte [eax + 0x12e], dl
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x134], edx
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x144], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x4f406b
mov ecx, dword [esp + 0x60]
jmp 0x4f407f
call fcn.00468040
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [eax + 0x140]
mov dword [edi + 4], edx
mov dword [esp + 0x70], eax
mov dword [eax + 0x140], ecx
mov dword [esp], eax
call fcn.004f31a0
mov eax, dword [esp + 4]
test eax, eax
jne 0x4f4333
mov dword [esp + 0x68], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x40]
test edx, edx
jbe 0x4f4380
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0049e6f0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00499870
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x64], edx
mov dword [esp], eax
call fcn.00499870
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x134]
mov edx, dword [esp + 4]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
cmp ecx, 1
jne 0x4f4183
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f4169
lea ecx, [0x6a66d8]
jmp 0x4f41c0
cmp ecx, 2
jne 0x4f4176
lea ecx, [0x6a66dc]
jmp 0x4f41c0
cmp ecx, 5
jne 0x4f41ba
lea ecx, [0x6a66e0]
jmp 0x4f41c0
cmp ecx, 2
je 0x4f418d
cmp ecx, 0x17
jne 0x4f41ba
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f41a0
lea ecx, [0x6a66d0]
jmp 0x4f41c0
cmp ecx, 2
jne 0x4f41ad
lea ecx, [0x6a66d4]
jmp 0x4f41c0
cmp ecx, 3
jne 0x4f41ba
lea ecx, [0x6a66cc]
jmp 0x4f41c0
lea ecx, [0x6a6684]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4f4214
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f41fa
lea ecx, [0x6a66d8]
jmp 0x4f4251
cmp ecx, 2
jne 0x4f4207
lea ecx, [0x6a66dc]
jmp 0x4f4251
cmp ecx, 5
jne 0x4f424b
lea ecx, [0x6a66e0]
jmp 0x4f4251
cmp ecx, 2
je 0x4f421e
cmp ecx, 0x17
jne 0x4f424b
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f4231
lea ecx, [0x6a66d0]
jmp 0x4f4251
cmp ecx, 2
jne 0x4f423e
lea ecx, [0x6a66d4]
jmp 0x4f4251
cmp ecx, 3
jne 0x4f424b
lea ecx, [0x6a66cc]
jmp 0x4f4251
lea ecx, [0x6a6688]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x85d680]
test ebx, ebx
jne 0x4f42a5
mov edx, dword [esp + 0x6c]
jmp 0x4f42b9
call fcn.00468040
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x4f42df
call fcn.00468040
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x68aea0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x65e920]
mov dword [esp + 8], eax
lea eax, [0x6a6680]
mov dword [esp + 0xc], eax
call fcn.00416d90
mov eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
call fcn.004f2eb0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
xor eax, eax
mov ecx, eax
call fcn.00468090
nop
call fcn.00466c30
jmp fcn.004f3e70