Function at 0x4f4a10
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 0x4f4a92
mov al, byte [esp + 0x3b]
test al, 1
jne 0x4f4e4d
jmp 0x4f4e2a
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 0x4f4b9e
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, 0x18
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.0049ee40
mov byte [esp + 0x33], al
mov cl, al
and cl, 1
mov byte [esp + 0x107], cl
test al, 1
jne 0x4f4bc2
jmp 0x4f4bb3
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 0
jmp 0x4f4dee
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f4bdd
jmp 0x4f4bd8
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f4cf5
jmp 0x4f4cf0
jmp 0x4f4cb9
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
imul edx, edx, 0x18
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
imul ecx, dword [esp + 0x9c], 0x18
add eax, ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ee40
test al, 1
jne 0x4f4cd1
jmp 0x4f4cbb
jmp 0x4f4cd3
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f4bb3
jmp 0x4f4cb9
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], ecx
and al, 1
mov byte [esp + 0x80], al
jmp 0x4f4dee
jmp 0x4f4dd1
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
imul edx, edx, 0x18
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
imul ecx, dword [esp + 0x90], 0x18
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ee40
test al, 1
jne 0x4f4dd8
jmp 0x4f4dd6
jmp 0x4f4cd3
jmp 0x4f4dd1
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f4bc2
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 0x4f4e19
jmp 0x4f4a81
mov al, byte [esp + 0x27]
test al, 1
jne 0x4f4f03
jmp 0x4f4ef4
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 0x4f4ee6
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.004960f0
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.0049cd60
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 0x4f4ee6
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.004960f0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0050d750
jmp 0x4f4ef4