Function at 0x4f3f90
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 0x4f4012
mov al, byte [esp + 0x3b]
test al, 1
jne 0x4f43cd
jmp 0x4f43aa
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 0x4f411e
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, 0x14
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.0049ed80
mov byte [esp + 0x33], al
mov cl, al
and cl, 1
mov byte [esp + 0x107], cl
test al, 1
jne 0x4f4142
jmp 0x4f4133
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 0
jmp 0x4f436e
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f415d
jmp 0x4f4158
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x84], eax
jb 0x4f4275
jmp 0x4f4270
jmp 0x4f4239
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, 0x14
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], 0x14
add eax, ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
test al, 1
jne 0x4f4251
jmp 0x4f423b
jmp 0x4f4253
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f4133
jmp 0x4f4239
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], ecx
and al, 1
mov byte [esp + 0x80], al
jmp 0x4f436e
jmp 0x4f4351
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, 0x14
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], 0x14
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
test al, 1
jne 0x4f4358
jmp 0x4f4356
jmp 0x4f4253
jmp 0x4f4351
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x4f4142
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 0x4f4399
jmp 0x4f4001
mov al, byte [esp + 0x27]
test al, 1
jne 0x4f4483
jmp 0x4f4474
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 0x4f4466
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.00495f50
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.0049d230
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 0x4f4466
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.00495f50
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0050d550
jmp 0x4f4474