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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x118
mov eax, dword [esp + 0x140]
mov dword [esp + 0x34], eax
mov dl, byte [esp + 0x13c]
mov byte [esp + 0x3b], dl
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0x134]
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x130]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
and dl, 1
mov byte [esp + 0x67], dl
cmp eax, ecx
jae 0x4f3ad2
mov al, byte [esp + 0x3b]
test al, 1
jne 0x4f3e91
jmp 0x4f3e6e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], 1
mov dword [esp + 0xe4], 1
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], eax
cmp eax, 2
jb 0x4f3bde
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], 2
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.004e93c0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xfc], ecx
mov edx, ecx
add edx, 0x10
mov dword [esp + 0x88], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004e93c0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ec20
mov byte [esp + 0x33], al
mov cl, al
and cl, 1
mov byte [esp + 0x107], cl
test al, 1
jne 0x4f3c02
jmp 0x4f3bf3
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 0
jmp 0x4f3e32
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f3c1d
jmp 0x4f3c18
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f3d37
jmp 0x4f3d32
jmp 0x4f3cfb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x108], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e93c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp edx, eax
setb bl
and bl, 1
mov byte [esp + 0xc7], bl
mov dword [esp + 0xc8], ecx
shl edx, 4
add edx, dword [esp + 0xc8]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xa0]
sub edx, 1
mov dword [esp + 0x9c], edx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e93c0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x9c]
shl ecx, 4
add eax, ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ec20
test al, 1
jne 0x4f3d13
jmp 0x4f3cfd
jmp 0x4f3d15
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f3bf3
jmp 0x4f3cfb
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], ecx
and al, 1
mov byte [esp + 0x80], al
jmp 0x4f3e32
jmp 0x4f3e15
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x110], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e93c0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp edx, eax
setb bl
and bl, 1
mov byte [esp + 0xb3], bl
mov dword [esp + 0xb4], ecx
shl edx, 4
add edx, dword [esp + 0xb4]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x94]
sub edx, 1
mov dword [esp + 0x90], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e93c0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0x90]
shl ecx, 4
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ec20
test al, 1
jne 0x4f3e1c
jmp 0x4f3e1a
jmp 0x4f3d15
jmp 0x4f3e15
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f3c02
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov dl, byte [esp + 0x80]
mov byte [esp + 0x27], dl
mov dword [esp + 0x68], eax
and dl, 1
mov byte [esp + 0x6f], dl
cmp eax, ecx
jae 0x4f3e5d
jmp 0x4f3ac1
mov al, byte [esp + 0x27]
test al, 1
jne 0x4f3f47
jmp 0x4f3f38
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0052bbb0
mov dword [esp + 0x70], eax
shl eax, 1
mov dword [esp + 0x50], eax
jmp 0x4f3f2a
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], 0x20
mov dword [esp], 0x20
mov dword [esp + 4], eax
call fcn.0052bbb0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], esi
xor eax, eax
lea eax, [0x6020f4]
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00496020
mov ecx, dword [esp + 0x40]
mov edi, eax
mov eax, dword [esp + 0x34]
mov esi, edx
mov edx, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
call fcn.0049c3a0
mov eax, dword [esp + 0x1c]
shl eax, 1
or eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
add esp, 0x118
pop esi
pop edi
pop ebx
ret
mov eax, dword [esp + 0x20]
shl eax, 1
or eax, 1
mov dword [esp + 0x50], eax
jmp 0x4f3f2a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
xor eax, eax
lea eax, [0x602104]
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00496020
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0050d450
jmp 0x4f3f38