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

Disassembly:
movzx ax, byte [0x6085a2]
sub esp, 0x10
inc word [0x607f34]
cmp word [0x607f34], ax
push ebx
push ebp
push esi
push edi
jae 0x49f510
call fcn.004a0fa0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov al, byte [0x605548]
xor ebx, ebx
cmp al, bl
mov word [0x607f34], bx
jne 0x49f997
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jne 0x49f538
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ecx, ecx
mov cl, byte [0x6083e5]
mov esi, ecx
cmp esi, ebx
jle 0x49f57f
xor eax, eax
mov al, byte [0x6085a0]
lea edx, [eax + eax*8]
lea eax, [eax + edx*4]
lea eax, [eax*4 + 0x605a50]
mov word [eax - 2], bx
mov word [eax], bx
mov word [eax + 0xa], bx
mov word [eax + 8], bx
mov word [eax + 0xe], bx
mov word [eax + 0x10], bx
mov byte [eax + 0x16], bl
mov byte [eax + 0x17], bl
add eax, 0x94
dec ecx
jne 0x49f55a
cmp byte [0x6083a8], 1
jbe 0x49f5ca
xor eax, eax
mov al, byte [ebp]
inc ebp
test al, 0x80
je 0x49f595
add ebp, 2
test al, 0x40
je 0x49f59c
add ebp, 2
test al, 0x20
je 0x49f5a1
inc ebp
cmp eax, ebx
jne 0x49f588
mov dl, byte [0x6083a8]
mov cl, byte [0x6083b0]
dec dl
inc cl
mov byte [0x6083a8], dl
mov al, byte [0x6083a8]
cmp al, 1
mov byte [0x6083b0], cl
ja 0x49f588
xor eax, eax
xor ecx, ecx
mov al, byte [ebp]
mov cl, byte [0x6085a0]
mov dword [esp + 0x10], eax
and eax, 0x1f
add eax, ecx
inc ebp
cmp eax, 0x40
jle 0x49f5eb
mov eax, 0x40
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*8]
test cl, 0x80
lea eax, [eax + edx*4]
lea esi, [eax*4 + 0x6059e0]
je 0x49f615
mov dl, byte [ebp]
inc ebp
mov byte [esi + 0x87], dl
mov al, byte [ebp]
inc ebp
mov byte [esi + 0x86], al
test cl, 0x40
je 0x49f95b
xor eax, eax
xor edx, edx
mov al, byte [ebp]
mov dl, byte [ebp + 1]
inc ebp
mov dword [esp + 0x1c], eax
inc ebp
cmp eax, ebx
mov dword [esp + 0x24], edx
je 0x49f675
mov cl, al
mov edi, 0x7fff
dec cl
mov byte [esi + 0xd], cl
mov word [esi + 0x24], bx
mov word [esi + 0x28], bx
mov word [esi + 0x2a], di
mov byte [esi + 0x2c], bl
mov ecx, dword [esp + 0x10]
mov word [esi + 0x34], bx
mov word [esi + 0x30], bx
mov word [esi + 0x2e], di
mov byte [esi + 0x2d], bl
mov word [esi + 0x36], bx
mov word [esi + 0x3a], bx
mov word [esi + 0x3c], di
mov byte [esi + 0x3e], bl
jmp 0x49f67a
mov edi, 0x7fff
cmp edx, ebx
je 0x49f942
test dl, 0x80
jne 0x49f93f
mov al, dl
mov word [esi + 0x18], di
dec al
mov byte [esi + 0xc], al
mov al, byte [esi + 0x86]
cmp al, 3
je 0x49f8ea
cmp al, 5
je 0x49f8ea
cmp al, 0xe
jne 0x49f6c2
mov cl, byte [esi + 0x87]
and cl, 0xf0
cmp cl, 0xd0
je 0x49f8ea
xor eax, eax
mov byte [esi + 0xf], bl
mov al, byte [esi + 0xd]
mov ecx, eax
shr eax, 7
and ecx, 0x7f
shl eax, 7
add ecx, eax
mov ecx, dword [ecx*4 + 0x605560]
cmp ecx, ebx
je 0x49f8ea
lea eax, [ecx + 0xaa]
mov dword [esi + 0x20], eax
mov al, byte [ecx + edx + 0x29]
movzx di, al
cmp di, word [ecx + 0x148]
jae 0x49f8ea
and eax, 0xff
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8 + 0x14a]
mov dword [esi + 0x42], eax
mov cl, byte [ecx + edx + 0x29]
mov byte [esi + 0xe], cl
mov ecx, dword [eax + 0x44]
cmp ecx, ebx
je 0x49f8ea
mov edi, dword [eax + 0x40]
cmp edi, ebx
je 0x49f732
mov dword [esi + 0x20], edi
test byte [eax + 0x2c], 4
je 0x49f73a
shr ecx, 1
mov word [esi + 0x4a], bx
mov dword [esi + 0x46], ecx
mov dword [esi + 0x4e], ecx
mov edi, dword [eax + 0x34]
add edi, ecx
mov dword [esi + 0x52], edi
mov edi, dword [eax + 0x38]
add edi, ecx
mov dword [esi + 0x56], edi
mov edi, dword [eax + 0x30]
add edi, ecx
mov dword [esi + 0x5a], edi
mov ecx, dword [eax + 0x3c]
mov dword [esi + 0x5e], ecx
mov cx, word [eax + 0x2c]
mov word [esi + 0x4c], cx
mov cl, byte [eax + 0x2c]
test cl, 0x20
je 0x49f77e
mov ax, word [eax + 0x28]
mov word [esi + 0x16], ax
mov word [esi + 0x14], ax
mov eax, dword [esi + 0x20]
mov byte [esi + 0x11], 1
mov cl, byte [eax]
test cl, 4
mov byte [esi + 0x74], cl
jne 0x49f793
mov word [esi + 0x72], bx
mov cx, word [eax + 5]
mov word [esi + 0x70], cx
mov cx, word [eax + 3]
mov word [esi + 0x6e], cx
mov cl, byte [eax + 7]
test cl, 4
mov byte [esi + 0x75], cl
jne 0x49f7b2
mov word [esi + 0x76], bx
mov cx, word [eax + 0xc]
xor edi, edi
mov word [esi + 0x78], cx
mov ax, word [eax + 0xa]
mov word [esi + 0x7a], ax
mov word [esi + 0x24], bx
mov eax, 0x7fff
mov word [esi + 0x28], bx
mov word [esi + 0x2a], ax
mov byte [esi + 0x2c], bl
mov word [esi + 0x34], bx
mov word [esi + 0x30], bx
mov word [esi + 0x2e], ax
mov byte [esi + 0x2d], bl
mov word [esi + 0x36], bx
mov word [esi + 0x3a], bx
mov word [esi + 0x3c], ax
lea eax, [edx - 1]
cmp eax, ebx
mov byte [esi + 0x3e], bl
jl 0x49f835
cmp eax, 0x77
jg 0x49f835
test byte [0x607f36], 1
je 0x49f82b
mov ecx, dword [esi + 0x5e]
cmp ecx, ebx
je 0x49f835
mov eax, dword [eax*4 + 0x4d6ff8]
xor edx, edx
imul eax, eax, 0x20ab
div ecx
mov edx, dword [esp + 0x24]
mov edi, eax
jmp 0x49f835
mov edi, 0x78
sub edi, eax
shl edi, 8
cmp edi, ebx
mov word [esi + 0x6a], di
mov word [esi + 0x6c], di
je 0x49f8e6
test byte [0x607f36], 1
je 0x49f858
mov eax, 0x369de40
cdq
idiv edi
jmp 0x49f8a5
mov eax, edi
mov ecx, 0xc00
cdq
idiv ecx
mov ecx, dword [esi + 0x5e]
push ebx
push ecx
sar edx, 2
mov eax, dword [edx*4 + 0x4d71d8]
cdq
push edx
push eax
call fcn.004b8850
mov ecx, eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], edx
imul edi
sar edx, 9
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x1f
lea ecx, [edx + eax + 0xa]
mov edx, dword [esp + 0x14]
mov eax, edx
mov edx, dword [esp + 0x18]
call fcn.004b9770
xor edx, edx
mov ecx, eax
div dword [0x607f5c]
xor edx, edx
mov edi, eax
mov eax, ecx
shl edi, 0x10
mov dword [esi + 0x62], edi
mov ecx, dword [esi + 0x52]
div dword [0x607f5c]
mov eax, edx
xor edx, edx
shl eax, 0x10
div dword [0x607f5c]
mov edx, dword [esi + 0x56]
add eax, edi
cmp ecx, edx
mov dword [esi + 0x62], eax
jbe 0x49f8e2
neg eax
mov dword [esi + 0x62], eax
mov edx, dword [esp + 0x24]
mov byte [esi + 0xf], 1
lea ecx, [edx - 1]
xor eax, eax
cmp ecx, ebx
jl 0x49f931
cmp ecx, 0x77
jg 0x49f931
test byte [0x607f36], 1
je 0x49f927
mov edi, dword [esi + 0x5e]
cmp edi, ebx
je 0x49f931
mov eax, dword [ecx*4 + 0x4d6ff8]
xor edx, edx
imul eax, eax, 0x20ab
div edi
mov ecx, dword [esp + 0x10]
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x1c]
jmp 0x49f942
mov eax, 0x78
sub eax, ecx
shl eax, 8
mov ecx, dword [esp + 0x10]
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x1c]
jmp 0x49f942
mov byte [esi + 0xc], dl
cmp eax, ebx
je 0x49f95b
mov edx, dword [esi + 0x42]
cmp edx, ebx
je 0x49f95b
xor eax, eax
mov ax, word [edx + 0x2a]
mov word [esi + 0x66], ax
mov word [esi + 0x68], ax
test cl, 0x20
je 0x49f96e
xor eax, eax
mov ah, byte [ebp]
inc ebp
mov word [esi + 0x66], ax
mov word [esi + 0x68], ax
cmp ecx, ebx
jne 0x49f5ca
mov cl, byte [0x6083b0]
mov dl, byte [0x60842c]
inc cl
mov byte [0x6083b0], cl
mov al, byte [0x6083b0]
cmp al, dl
jne 0x49f9a7
xor ebp, ebp
jmp 0x49f9a7
mov al, byte [0x605548]
mov ebp, dword [esp + 0x24]
dec al
mov byte [0x605548], al
call fcn.004a0fa0
mov al, byte [0x607f24]
pop edi
neg al
sbb eax, eax
pop esi
not eax
and eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret