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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x6c], 0
movlpd qword [esp + 0x78], xmm0
test edi, edi
je 0x4888c7
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [esp + 0x50], edi
mov al, byte [eax + 0x44]
mov ecx, dword [ebp + 0x14]
and al, 0x10
mov byte [esp + 0x4b], al
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x70], edi
cmp byte [esp + 0x4b], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [edx]
cmp ecx, 0x40
jle 0x48892e
mov edx, dword [esp + 0xc]
push 0x40
push 0x53ca74
push edx
call fcn.004081e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x44], ecx
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x28]
shl eax, 4
mov dword [esp + 0x34], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x2c], eax
add eax, 0x48
push eax
call fcn.00405440
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
cmp byte [eax + 0x49], 0
je 0x4889ff
test ecx, ecx
je 0x488e84
cmp dword [eax + 0x1d0], 0
je 0x4889a8
mov edx, ecx
mov ecx, eax
call fcn.004050c0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
cmp ecx, dword [eax + 0x128]
jb 0x4889e0
cmp ecx, dword [eax + 0x12c]
jae 0x4889e0
mov eax, dword [eax + 0x124]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0x124], ecx
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00405050
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [ecx], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x2e], al
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x44]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x488a67
mov edx, dword [esi + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004055e0
mov ecx, dword [esp + 0x10]
add esp, 8
mov edx, dword [esp + 0xc]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x488a75
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [esp + 0x3c]
not edi
mov word [ecx + 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x14], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], edi
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x30]
movups xmmword [ecx + 0x2f], xmm0
add eax, 0x48
movups xmmword [ecx + 0x3f], xmm0
push eax
mov byte [ecx + 0x4f], 0
add ecx, 0x2f0
push 0
push ecx
mov dword [esp + 0x70], ecx
call fcn.004e8ed0
mov esi, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea edx, [esi + 0x50]
add ecx, esi
mov dword [esp + 0x4c], edx
lea edi, [esi + 0x1e8]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], ecx
push 0x2c
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea eax, [edx + 0x18]
mov dword [edi + 4], 0
lea ecx, [esi + 0x50]
mov dword [edx], esi
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x14], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x6c], esi
call fcn.00482b80
add esp, 4
cmp dword [esp + 0x40], 0
jne 0x488b68
mov eax, dword [esp + 0x50]
test eax, eax
je 0x488b51
mov al, byte [eax]
mov byte [esi + 0x2f], al
test dword [esp + 0x3c], 0x100
je 0x488c1d
mov byte [esi + 0x33], 1
jmp 0x488c1d
mov edx, dword [esp + 0x2c]
add edx, 0x18
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], edx
nop dword [eax + eax]
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x20]
mov dword [edi + ecx*4 + 8], eax
inc dword [edi + 4]
test byte [edx + 0x18], 4
je 0x488c01
mov eax, dword [edx + 0x38]
mov edi, dword [edx]
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], eax
test eax, eax
je 0x488bfd
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x18], ecx
cmp dword [eax], ecx
jle 0x488bfd
add eax, 4
mov dword [esp + 0x1c], eax
movsx edx, word [edi + 0x2a]
cmp esi, edx
jge 0x488be5
mov eax, dword [edi + 4]
mov ecx, esi
shl ecx, 4
add eax, 0xf
add eax, ecx
nop dword [eax]
test byte [eax], 2
jne 0x488d4b
inc esi
add eax, 0x10
cmp esi, edx
jl 0x488bd0
mov ecx, dword [esp + 0x18]
push ecx
push dword [edi]
push 0x53c9f8
push dword [esp + 0x18]
call fcn.004081e0
add esp, 0x10
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add edx, 0x50
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
cmp eax, dword [ecx]
jl 0x488b80
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x488c48
nop dword [eax]
mov edx, ecx
mov ecx, dword [esp + 0x2c]
push esi
call fcn.00481b70
mov ecx, dword [esp + 0x50]
add esp, 4
sub esi, 1
jns 0x488c30
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x49], 0
jne 0x488e68
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x30], 0
jle 0x488d0d
xor edi, edi
nop word [eax + eax]
mov esi, dword [ecx + 0x14]
add esi, edi
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x488cf8
cmp dword [esp + 0x40], eax
je 0x488cd8
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
mov byte [esp + 0x94], 1
mov dword [esp + 0x84], 0x488830
mov dword [esp + 0x88], 0x43dbe0
test edx, edx
je 0x488cd8
lea ecx, [esp + 0x80]
call fcn.00439220
cmp byte [esp + 0x94], 0
je 0x488cf4
mov eax, dword [esp + 8]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x18]
call fcn.00444130
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
add edi, 0x30
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0xc]
jl 0x488c70
mov eax, dword [esp + 0x3c]
and eax, 0x100
mov dword [esp + 0x5c], eax
je 0x488e13
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00483350
mov esi, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x488dfe
mov byte [esi + 0x33], 1
jmp 0x488e17
mov eax, dword [esp + 0xc]
push 0
push 0x30
mov ecx, dword [eax]
call fcn.00405440
mov edi, eax
add esp, 8
test edi, edi
je 0x488bf9
push 0x30
push 0
push edi
call fcn.004e8ed0
mov edx, dword [esp + 0x28]
or eax, 0xffffffff
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [edi], 0x91
mov dword [edi + 0x18], 1
mov eax, dword [eax + 0x20]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov word [edi + 0x20], si
inc esi
mov dword [edi + 0x2c], eax
mov edx, dword [edx]
test edx, edx
je 0x488db9
mov eax, dword [esp + 0xc]
push 0
push 0
mov ecx, dword [eax]
call fcn.0043cd70
add esp, 8
jmp 0x488dbb
xor eax, eax
mov ecx, dword [esp + 0xc]
mov edx, 0x35
push eax
push edi
call fcn.0043c550
mov ecx, dword [esp + 0x54]
mov edx, eax
push 1
call fcn.004809a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x5c]
inc ecx
add dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax]
jge 0x488bf9
mov edi, dword [esp + 0x28]
jmp 0x488bb7
cmp dword [esp + 0x50], 0
jne 0x488e17
mov eax, 0x80
mov dword [esi + 8], edi
or word [esi + 0x2c], ax
jmp 0x488e17
mov esi, dword [esp + 8]
cmp dword [esp + 0x40], 1
jne 0x488e2b
lea ecx, [esp + 0x68]
call fcn.004885a0
test eax, eax
jne 0x488e9a
lea ecx, [esp + 0x68]
call fcn.00486f60
test eax, eax
jne 0x488e68
xor edx, edx
mov ecx, esi
call fcn.00487cb0
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x49], 0
jne 0x488e68
cmp dword [esi + 8], 0
je 0x488ea4
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.00487cb0
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x49], 0
je 0x488e9e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.004847c0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
cmp dword [esi + 8], 0
jne 0x488ebb
test dword [ecx + 0x1c], 0x1000
je 0x488ebb
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x488e68
cmp byte [ecx + 0x49], 0
jne 0x488e68
cmp byte [esi + 0x2e], 2
jb 0x489082
mov eax, dword [esp + 0x44]
test eax, eax
je 0x489082
mov edx, 0x100
test word [ecx + 0x44], dx
jne 0x489082
xor edi, edi
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
cmp dword [eax], edi
jle 0x488f3b
lea esi, [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov ecx, dword [esp + 0x14]
call fcn.00482d10
or dword [esp + 0x18], eax
lea esi, [esi + 0x18]
mov eax, dword [esp + 0x44]
inc edi
or dword [esp + 0x1c], edx
cmp edi, dword [eax]
jl 0x488f12
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x488f4b
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x488fbd
cmp dword [eax], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x30], 0
jle 0x488fab
add eax, 4
mov dword [esp + 0x28], eax
nop dword [eax + eax]
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
call fcn.00482d10
mov ecx, dword [esp + 0x30]
or esi, edx
mov edx, dword [esp + 0x70]
or edi, eax
mov eax, dword [esp + 0x28]
inc ecx
add eax, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
cmp ecx, dword [edx]
jl 0x488f80
mov edx, dword [esp + 0x18]
or edx, edi
or esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 8]
mov al, byte [ecx + 0x2e]
cmp al, 2
jb 0x489080
mov edi, dword [ecx + 4]
mov dword [esp + 0x28], edi
movzx eax, al
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [ecx + eax*8 + 0x2e0]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edi + eax*8 + 0x2c], 8
je 0x48907a
cmp word [esp + 0x5c], 0
jne 0x489007
test dword [ecx + 0x24], 0x1000
je 0x48907a
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x30], eax
and ecx, edx
and eax, esi
or ecx, eax
jne 0x48907a
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
cmp edx, esi
jae 0x489056
mov eax, dword [edx + 0x2c]
mov ecx, edi
and ecx, dword [edx + 0x28]
and eax, dword [esp + 0x30]
or ecx, eax
je 0x489049
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x489052
add edx, 0x30
cmp edx, esi
jb 0x489031
jmp 0x489056
cmp edx, esi
jb 0x48907a
mov ecx, dword [esp + 8]
dec dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov al, byte [ecx + 0x2e]
mov edi, dword [esp + 0x28]
dec al
mov byte [ecx + 0x2e], al
cmp al, 2
jae 0x488fd3
mov esi, dword [esp + 8]
jmp 0x489082
mov esi, ecx
mov ecx, dword [esi]
movsx eax, word [esi + 0x48]
mov dword [esp + 0x1c], 0
add dword [ecx + 0x84], eax
test byte [esp + 0x3c], 4
je 0x489122
mov edx, dword [esi + 0x330]
mov edi, dword [esp + 0x60]
and edi, 8
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x4890d6
mov dword [esp + 0x1c], 0
test di, di
je 0x489122
mov dword [esp + 0x1c], 0
test ecx, 0x400
jne 0x489122
mov eax, ecx
mov dword [esp + 0x1c], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [esi + 0x31], al
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax + 0x24], 0x20
jne 0x489122
mov dword [esp + 0x1c], 0
test cl, 0x40
je 0x489122
and ecx, 0xffffffbf
mov eax, 8
mov dword [edx + 0x24], ecx
xor ecx, ecx
test di, di
cmove eax, ecx
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4895c9
mov edi, dword [esp + 0x64]
add edi, 0x40
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], edi
nop dword [eax]
movzx eax, byte [edi - 0x14]
mov edi, 0xfff0bdc0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
lea eax, [eax + eax*4]
shl eax, 4
add ecx, eax
mov dword [esp + 0x18], ecx
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x60], esi
mov edx, dword [esi + 0x48]
test edx, edx
je 0x489196
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x20], edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x489192
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x48918e
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x489182
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x18]
test byte [esi + 0x24], 2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jne 0x4893c6
cmp dword [esi + 0xc], 0
jne 0x4893c6
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4892a8
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4891db
mov eax, dword [esp + 0x24]
nop dword [eax]
cmp dword [esi], eax
je 0x4891db
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4891d0
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], edx
jg 0x48920e
push 0
push 0
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, 0x9c
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x48924c
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x4893c6
test edx, edx
jns 0x489267
mov edx, dword [ecx + 0x88]
dec edx
mov eax, dword [esp + 0x10]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x489291
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.00426c90
add esp, 8
jmp 0x4893c6
test esi, esi
je 0x4893c6
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4893c6
cmp dword [esi + 0x38], 0
jne 0x4893c6
test al, 0x40
jne 0x4893b1
test byte [esp + 0x3c], 0x20
jne 0x4893b1
mov eax, dword [esp + 8]
mov ecx, 0x68
mov edx, dword [esp + 0x18]
cmp byte [eax + 0x31], 0
je 0x4892eb
mov edi, dword [esp + 8]
mov ecx, 0x69
mov eax, dword [edx + 0x38]
mov dword [edi + 0x18], eax
mov edi, dword [esp + 0x20]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x10]
push esi
push edi
call fcn.0045b4e0
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x48938e
cmp word [esi + 0x2a], 0x40
jge 0x48938e
test byte [esi + 0x24], 0x20
jne 0x48938e
mov eax, dword [esp + 0x18]
xor esi, esi
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov eax, edx
or eax, ecx
je 0x48933d
nop word [eax + eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x489330
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp byte [ecx + 0x49], 0
je 0x489359
push esi
mov edx, 0xfffffffd
call fcn.00426b10
add esp, 4
jmp 0x48938e
mov eax, dword [eax + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x489387
mov ecx, dword [esp + 0x10]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.00426c90
add esp, 8
jmp 0x48938e
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x88]
test eax, eax
jle 0x4893c6
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4893c6
push dword [esi]
mov ecx, dword [esp + 0x10]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.00449ad0
add esp, 0xc
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x24], 0x200
je 0x489579
mov eax, dword [esp + 0x60]
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x44], 0x68
test byte [eax + 0x24], 0x20
je 0x489410
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x3c]
jne 0x489414
test al, 0x20
je 0x489414
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [edi - 0x3c]
mov dword [edi - 0x38], eax
jmp 0x489581
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
cmp byte [ecx + 0x31], 0
je 0x489449
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x48943c
cmp eax, esi
je 0x48943c
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x489430
mov dword [esp + 0x44], 0x69
mov dword [ecx + 0x1c], edx
jmp 0x489470
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x489463
test al, 0x20
je 0x489463
mov edx, ecx
mov dword [esp + 0x44], 0x67
mov eax, ecx
jmp 0x489472
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov eax, edx
mov ecx, dword [esp + 0x14]
mov dword [ecx - 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4894ab
mov ecx, dword [esp + 0x30]
push edi
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x50]
call fcn.00426240
add esp, 0xc
jmp 0x4894ee
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
mov eax, edi
mov edi, dword [esp + 0x20]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x44]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
mov edx, esi
mov esi, eax
mov ecx, esi
mov edi, dword [eax + 8]
call fcn.00452430
mov edx, eax
test edx, edx
je 0x489533
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
je 0x48951e
push edx
mov edx, 0xfffffff7
call fcn.00426b10
add esp, 4
jmp 0x489533
mov eax, dword [edi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x48957d
test eax, 0x8002
jne 0x48957d
mov eax, dword [esp + 8]
test byte [eax + 0x2c], 1
jne 0x48957d
cmp byte [eax + 0x33], 2
je 0x48957d
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 0x88]
test eax, eax
jle 0x489581
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x489581
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x4895b3
mov eax, dword [esi + 0x78]
mov edx, esi
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x4895b3
bts esi, ecx
mov dword [edx + 0x5c], esi
cmp ecx, 1
jne 0x4895b3
mov ecx, edx
call fcn.004519b0
add edi, 0x50
sub dword [esp + 0x50], 1
mov dword [esp + 0x14], edi
jne 0x489140
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x88]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x49], 0
jne 0x488e68
or ecx, 0xffffffff
or edx, 0xffffffff
xor edi, edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
cmp dword [esp + 0x40], edi
jle 0x4896ab
add esi, 0x31c
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x489647
lea eax, [esi - 0x2c]
push eax
movzx eax, byte [esi]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00483680
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp byte [eax + 0x49], 0
jne 0x488e68
push dword [esp + 0x3c]
movzx eax, byte [esi]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esi - 0x2c]
push edi
push eax
call fcn.0047c620
mov eax, dword [esp + 0x20]
mov edx, edi
push dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x88]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x64]
push eax
call fcn.0047da80
mov ecx, dword [esi - 0x14]
inc edi
mov dword [esp + 0x68], eax
add esp, 0x18
mov eax, dword [esp + 8]
add esi, 0x50
mov dword [esp + 0x58], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x50]
cmp edi, dword [esp + 0x40]
jl 0x489604
mov esi, eax
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret