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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x40], 0xffffffff
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ebp
mov ebx, dword [ebp + 8]
mov esi, dword [ebp]
mov dword [esp + 0x30], 1
mov dword [esp + 0x4c], ebx
movzx eax, byte [ebx + 0x10]
mov dword [esp + 0x34], esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea ecx, [ecx + 1]
test byte [eax + ecx*8 + 0x28], 2
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 0x10]
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x4ff1f1
mov ebp, dword [edx + 0x44]
jmp 0x4ff29a
test byte [ecx + 0x1c], 0x80
je 0x4ff1ff
mov ebp, dword [ecx + 8]
jmp 0x4ff29a
xorps xmm0, xmm0
mov dword [esp + 0x58], edi
lea eax, [esp + 0x48]
movlpd qword [esp + 0x8f], xmm0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x60], eax
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x97], xmm0
mov byte [esp + 0x9f], 0
mov dword [esp + 0x8a], 0x10001
mov byte [esp + 0x8e], 5
mov dword [esp + 0x64], ecx
movzx eax, word [ecx + 0x28]
or dword [esp + 0x90], 3
mov word [esp + 0x88], ax
movzx eax, word [ecx + 0x26]
mov word [esp + 0x44], ax
xor eax, eax
mov word [esp + 0x46], ax
test byte [edx + 0x28], 1
jne 0x4ff296
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
lea ebp, [esp + 0x58]
mov eax, ecx
mov dword [esp + 0x20], ebp
mov ecx, 0x1c
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0x26]
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], edi
jne 0x4ff4c4
test byte [esi + 0x2c], 0x20
jne 0x4ff4c4
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
je 0x4ff4c4
test byte [edx + 0x28], 0x2b
jne 0x4ff4c4
mov eax, dword [esp + 0x2c]
test byte [eax], 0x80
jne 0x4ff4c4
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea edx, [eax + eax*2]
shl edx, 4
add edx, esi
mov dword [esp + 0x14], edx
cmp cx, 0xa
jg 0x4ff31c
xor eax, eax
jmp 0x4ff335
movsx eax, cx
cdq
push edx
push eax
call fcn.0046ecb0
mov edx, dword [esp + 0x1c]
add esp, 8
sub ax, 0x21
movzx eax, ax
mov dword [esp + 0x38], eax
nop dword [eax]
cmp esi, edx
jae 0x4ff4c0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
and ecx, dword [esi + 0x20]
and eax, dword [esi + 0x24]
or ecx, eax
jne 0x4ff4a8
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
cmp eax, dword [ecx + 0x2c]
jne 0x4ff4a8
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4ff4a8
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 8
je 0x4ff397
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4ff393
test cl, cl
js 0x4ff4a8
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x18]
test edx, edx
js 0x4ff4a4
mov eax, dword [eax + 0x10]
add edx, edx
mov ecx, dword [esi]
mov eax, dword [eax + 4]
mov dl, byte [eax + edx*8 + 8]
call fcn.004a58c0
test eax, eax
je 0x4ff4a4
mov eax, dword [ebx + 0x38]
mov ecx, 1
mov edx, dword [esp + 0x38]
mov word [ebx + 0x18], cx
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x20], 0
mov dword [eax], esi
mov eax, dword [esp + 0x18]
add eax, edx
mov word [ebx + 0x12], ax
cmp byte [ecx + 0x2b], 2
je 0x4ff3fe
mov ecx, dword [esp + 0x2c]
test dword [ecx], 0x4000
jne 0x4ff3fe
add eax, 0x1c
jmp 0x4ff401
add eax, 0xfffffff6
movzx eax, ax
mov word [ebx + 0x12], ax
test ax, ax
jns 0x4ff413
xor eax, eax
mov word [ebx + 0x12], ax
mov eax, 0x2b
movsx ecx, dx
mov word [ebx + 0x16], ax
cmp dx, ax
jl 0x4ff444
cmp ecx, 0x5c
jle 0x4ff42e
movzx eax, dx
jmp 0x4ff473
cmp ecx, 0x4a
jle 0x4ff438
lea eax, [edx + 1]
jmp 0x4ff470
movzx eax, byte [ecx + 0x58fdfd]
add ax, dx
jmp 0x4ff470
lea eax, [ecx + 0x31]
cmp eax, 0x2b
jge 0x4ff453
mov eax, 0x2b
jmp 0x4ff473
lea eax, [ecx + 0x1f]
cmp eax, 0x2b
jge 0x4ff462
mov eax, 0x2c
jmp 0x4ff473
mov eax, 0x58fe53
sub eax, ecx
movzx eax, byte [eax]
add ax, 0x2b
movzx eax, ax
mov ecx, dword [esp + 0xc8]
mov edx, ebx
mov word [ebx + 0x14], ax
mov dword [ebx + 0x2c], 0x4000
or ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or eax, dword [esp + 0xcc]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 4], eax
call fcn.004fde20
mov edi, eax
mov edx, dword [esp + 0x14]
add esi, 0x30
test edi, edi
je 0x4ff340
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
mov edx, dword [esp + 0x10]
test ebp, ebp
je 0x4ff82a
movzx edx, byte [edx + 0x24]
mov eax, dword [ebp + 0x24]
mov esi, dword [esp + 0x10]
shr edx, 5
and edx, 1
test eax, eax
je 0x4ff4f9
mov ecx, dword [esi + 0x2c]
push eax
push dword [esp + 0x2c]
call fcn.004ff060
add esp, 8
test eax, eax
je 0x4ff809
test dword [ebp + 0x38], 0x100
jne 0x4ff809
mov eax, dword [ebp + 8]
mov edx, ebp
movzx edi, word [eax]
xor eax, eax
mov dword [ebx + 0x18], eax
mov word [ebx + 0x1c], ax
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x11], al
mov word [ebx + 0x12], ax
mov eax, dword [esp + 0xc8]
mov dword [ebx], eax
mov eax, dword [esp + 0xcc]
mov dword [ebx + 4], eax
mov word [ebx + 0x16], di
mov dword [ebx + 0x20], ebp
push dword [esi + 0x2c]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.004feed0
mov edx, dword [ebp + 0x38]
add esp, 4
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
cmp cl, 3
jne 0x4ff5a1
mov ecx, dword [esp + 0x30]
xor edx, edx
test eax, eax
movzx ecx, cl
lea eax, [edi + 0x10]
mov dword [ebx + 0x2c], 0x100
cmovne edx, ecx
mov word [ebx + 0x14], ax
mov ecx, dword [esp + 0x28]
mov byte [ebx + 0x11], dl
mov edx, ebx
push edi
call fcn.004fe0e0
add esp, 4
mov edx, ebx
mov ecx, esi
call fcn.004fde20
mov word [ebx + 0x16], di
jmp 0x4ff7d6
test dl, 0x20
je 0x4ff5be
xorps xmm0, xmm0
mov eax, 0x240
movlpd qword [esp + 0x38], xmm0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x4ff5de
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x40]
mov edi, dword [ebp + 0x44]
and esi, dword [eax + 0x38]
and edi, dword [eax + 0x3c]
mov eax, esi
or eax, edi
mov eax, 0x240
je 0x4ff5de
mov eax, 0x200
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
test edx, edx
jne 0x4ff64f
mov eax, dword [esp + 0x2c]
test byte [eax], 0x80
jne 0x4ff64f
cmp dword [ebp + 0x24], edx
jne 0x4ff64f
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 2
jne 0x4ff64f
mov eax, esi
or eax, edi
jne 0x4ff7da
test byte [ebp + 0x38], 4
jne 0x4ff7da
mov ecx, dword [esp + 0x24]
mov ax, word [ebp + 0x30]
cmp ax, word [ecx + 0x28]
jge 0x4ff7da
mov eax, dword [esp + 0x34]
test byte [eax + 0x2c], 4
jne 0x4ff7da
cmp byte [0x5b3c27], dl
je 0x4ff7da
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x20
jne 0x4ff7da
mov eax, dword [esp + 0x30]
xor ecx, ecx
movzx eax, al
test edx, edx
cmovne ecx, eax
mov byte [ebx + 0x11], cl
movsx ecx, word [ebp + 0x30]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
movsx ecx, word [ecx + 0x28]
idiv ecx
mov ecx, dword [esp + 0x14]
inc eax
add eax, ecx
or esi, edi
mov word [ebx + 0x14], ax
je 0x4ff7b4
mov edx, dword [esp + 0x34]
lea eax, [ecx + 0x10]
movzx esi, ax
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x38], eax
cmp dword [edx + 0x64], ebp
jle 0x4ff74c
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edi, dword [edx + 0x70]
xorps xmm0, xmm0
mov edx, dword [edi + ecx]
add edi, ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xa4], 0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x50], ebx
mov dword [esp + 0xa8], 0x4af790
mov dword [esp + 0xbc], eax
test edx, edx
je 0x4ff70d
lea ecx, [esp + 0xa4]
call fcn.004a2570
mov ecx, dword [esp + 0x18]
cmp word [esp + 0xb8], 0
jne 0x4ff748
movzx eax, word [edi + 8]
test ax, ax
jg 0x4ff725
add esi, eax
jmp 0x4ff72f
dec esi
test byte [edi + 0xc], 0x82
je 0x4ff72f
sub esi, 0x13
mov edx, dword [esp + 0x34]
inc ebp
mov eax, dword [esp + 0x38]
add ecx, 0x30
mov dword [esp + 0x18], ecx
cmp ebp, dword [edx + 0x64]
jl 0x4ff6b3
mov ebx, dword [esp + 0x4c]
movzx edi, word [ebx + 0x14]
movsx ecx, di
movsx edx, si
cmp di, si
jl 0x4ff780
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4ff766
mov eax, edi
jmp 0x4ff7a8
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4ff772
lea eax, [edi + 1]
jmp 0x4ff7a5
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x4ff7a5
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4ff78c
movzx eax, si
jmp 0x4ff7a8
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4ff799
inc esi
movzx eax, si
jmp 0x4ff7a8
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov word [ebx + 0x14], ax
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.004fe0e0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, ebx
call fcn.004fde20
mov ecx, dword [esp + 0x14]
mov word [ebx + 0x16], cx
test eax, eax
jne 0x4ff82c
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push ebp
mov byte [eax + 0x10], 0
call fcn.004fe4e0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 1
jne 0x4ff809
mov eax, dword [esp + 0x2c]
or dword [eax], 0x100
mov edx, dword [esp + 0x10]
test byte [edx + 0x28], 2
je 0x4ff817
xor ebp, ebp
jmp 0x4ff81a
mov ebp, dword [ebp + 0x14]
inc dword [esp + 0x30]
mov dword [esp + 0x20], ebp
test edi, edi
je 0x4ff4c4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret