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

Disassembly:
push 0xffffffffffffffff
push 0x68b580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0x10], esi
mov dword [esi + 0x120], edi
call dword [eax + 0x88]
test eax, eax
jne 0x4fe224
movsx ecx, word [esi + 0x26]
cmp dword [esi + 0x22], ecx
jle 0x4fe224
xor edx, edx
mov dword [esp + 0x78], edi
mov dl, byte [0x6d0ee1]
mov dword [esp + 0x7c], edi
shl edx, 8
neg edx
mov dword [esp + 0x80], edx
lea eax, [esp + 0x78]
lea ecx, [esi + 0x104]
push eax
mov dword [esp + 0x9c], edi
call fcn.00483f9c
mov dword [esp + 0x98], 0xffffffff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
lea ebp, [esi + 0x110]
lea ebx, [esi + 0x104]
lea eax, [esp + 0x48]
push ebp
push eax
mov ecx, ebx
mov dword [esp + 0x24], ebx
call fcn.00487007
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x4c]
or ecx, edi
mov eax, 1
or ecx, edx
mov dword [esp + 0x98], eax
jne 0x4fe276
xor eax, eax
jmp 0x4fe896
lea ecx, [esp + 0x48]
mov dword [esi + 0x120], eax
call fcn.0059cf7d
mov edx, dword [esi + 0x22]
mov ebp, eax
mov eax, dword [esp + 0x50]
mov edi, 1
shr ebp, 0xe
add eax, edx
inc ebp
cmp ebp, 0x10
mov dword [esp + 0x30], eax
jle 0x4fe2a7
mov ebp, 0x10
lea eax, [esi + 0x1a]
mov dword [esp + 0x24], 0
mov edx, eax
mov dword [esp + 0x20], eax
mov ecx, dword [edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax]
mov edx, dword [edx + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x12]
test eax, eax
je 0x4fe2ec
cmp eax, 1
jne 0x4fe312
mov eax, dword [0x6c3630]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [eax + 0x9da]
call fcn.004a0eb2
test eax, eax
je 0x4fe312
mov dword [esp + 0x24], 1
cmp ebp, 1
jl 0x4fe773
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x6c], esi
mov ecx, eax
imul edx, edi
mov eax, edi
imul ecx, edi
imul eax, esi
mov esi, edx
mov byte [esp + 0x98], 2
cdq
idiv ebp
mov dword [esp + 0x14], 0
mov ebx, eax
mov eax, ecx
cdq
idiv ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov eax, esi
cdq
idiv ebp
mov dword [esp + 0x74], eax
mov eax, ebx
cdq
and edx, 0xf
mov ebx, dword [esp + 0x60]
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x70]
cdq
and edx, 0xf
sar ecx, 4
add eax, edx
mov edx, dword [esp + 0x64]
add ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], ecx
sar ebx, 4
sar ecx, 0xc
lea esi, [edx + ebx]
mov dword [esp + 0x28], ecx
cdq
mov ecx, dword [0x6c3630]
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0x68]
sar eax, 4
add eax, edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
sar esi, 0xc
call dword [eax + 0x200]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x12]
test ecx, ecx
jne 0x4fe436
mov ecx, dword [0x6c3630]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x9f2]
mov ecx, dword [edx + 4]
sar ecx, 0xc
mov edx, dword [eax + 8]
imul edx, ecx
mov ecx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
sar ecx, 0xc
cmp byte [edx + ecx], 4
je 0x4fe436
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4fe42e
mov edx, dword [eax + 8]
mov dword [esp + 0x18], 1
imul edx, esi
mov esi, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
add edx, esi
cmp byte [edx + eax], 4
jne 0x4fe436
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4fe44b
mov dword [esp + 0x14], 1
jmp 0x4fe4cf
mov ecx, dword [0x6c3630]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1d4]
xor ecx, ecx
mov cl, byte [eax + 0xa]
mov edx, dword [ecx*4 + 0x6b8a88]
test byte [edx + 0x17b], 1
je 0x4fe47b
mov dword [esp + 0x14], 1
mov edx, dword [0x6c3630]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [edx + 0x9da]
call fcn.004a0eb2
test eax, eax
je 0x4fe4c7
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4fe4aa
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xf7]
test byte [ecx + 0x8b], 0x40
je 0x4fe4cf
mov dword [esp + 0x14], 0
jmp 0x4fe4cf
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fe5ed
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x84]
test eax, eax
jne 0x4fe623
mov esi, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x60]
test eax, eax
je 0x4fe641
mov ecx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 3
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 8]
add ecx, ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x84], edx
call fcn.004ff6ad
test eax, eax
je 0x4fe59e
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4fe578
mov eax, dword [0x6c3630]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [eax + 0x9da]
call fcn.004a0eb2
test eax, eax
jne 0x4fe59e
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x4c]
neg esi
mov dword [esp + 0x48], esi
jmp 0x4fe5c4
mov eax, dword [esi + 0x108]
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x4c]
cdq
mov esi, dword [esp + 0x48]
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x44]
sub ebp, edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov edi, 1
mov byte [esp + 0x98], 1
jmp 0x4fe616
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
inc edi
mov byte [esp + 0x98], 1
cmp edi, ebp
jle 0x4fe323
jmp 0x4fe76b
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x20]
xor eax, eax
jmp 0x4fe896
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fe763
mov edx, dword [esp + 0x40]
mov ecx, dword [0x6c3630]
sar edx, 0xc
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x40]
sar edx, 0xc
push edx
call dword [eax + 0x1d8]
mov edi, eax
xor eax, eax
mov al, byte [edi + 0xa]
mov ecx, dword [eax*4 + 0x6b8a88]
mov eax, dword [ecx + 0x17b]
test al, 1
je 0x4fe6f0
test al, 2
jne 0x4fe6f0
mov dx, word [edi + 8]
mov ax, word [esi + 0x28]
and edx, 0xfff
cmp dx, ax
jne 0x4fe6f0
cmp word [ecx + 0x185], 0
jne 0x4fe6f0
push eax
mov ecx, edi
call fcn.004a1fb5
test eax, eax
je 0x4fe6f0
mov cx, word [edi + 8]
xor eax, eax
mov al, byte [0x6d0efb]
and ecx, 0xfff
neg eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x6c3630]
sar eax, 0xc
sar ecx, 0xc
push eax
push ecx
lea ecx, [edx + 0x9da]
call fcn.0049eeeb
jmp 0x4fe748
cmp dword [esi + 0x12], 1
jne 0x4fe748
mov edx, dword [esp + 0x58]
mov ecx, dword [0x6c3630]
sar edx, 0xc
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x58]
sar edx, 0xc
push edx
call dword [eax + 0x1d8]
xor ecx, ecx
mov cx, word [eax]
mov edi, dword [ecx*4 + 0x6ccb20]
test edi, edi
je 0x4fe748
cmp dword [edi + 0x12], 4
jne 0x4fe737
mov dx, word [esi + 0x28]
mov ecx, esi
push edx
push edi
call fcn.004f884c
xor eax, eax
mov ax, word [edi + 0xc]
mov edi, dword [eax*4 + 0x6ccb20]
test edi, edi
jne 0x4fe724
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x108], 0
xor eax, eax
mov dword [ecx], 0
jmp 0x4fe896
mov byte [esp + 0x98], 1
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x108]
cdq
mov ecx, eax
mov eax, dword [ebx]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
je 0x4fe793
cmp ecx, 0x80
jl 0x4fe7d9
mov eax, dword [esi + 0x12]
test eax, eax
jne 0x4fe7f0
mov eax, dword [esp + 0x20]
push 0
push 0
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [eax]
sar edx, 0xc
sar eax, 0xc
push edx
push eax
call fcn.004dbe98
test eax, eax
je 0x4fe7f0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0
push 0
sar ecx, 0xc
sar edx, 0xc
push ecx
push edx
mov ecx, esi
call fcn.004dbe98
test eax, eax
jne 0x4fe7f0
mov dword [ebx], 0
mov dword [esi + 0x108], 0
xor eax, eax
jmp 0x4fe896
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x22]
cmp eax, ecx
jne 0x4fe803
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.0050155b
xor eax, eax
mov ecx, 0x1000
mov ax, word [esi + 0x11e]
sub ecx, eax
jns 0x4fe826
mov ecx, 0x800
mov eax, dword [ebx]
mov edi, dword [esi + 0x10c]
imul eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebx], eax
mov eax, ecx
imul eax, dword [ebx + 4]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebx + 4], eax
mov eax, ecx
imul eax, dword [ebx + 8]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x12]
test eax, eax
mov dword [esi + 0x10c], edi
jne 0x4fe891
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shl edx, 4
mov dword [esi + 0x1a8], edx
mov eax, dword [esi + 0x1e]
shl eax, 4
mov dword [esi + 0x1ac], eax
mov eax, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret