Function at 0x4853f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [esp + 0x28], ecx
mov ebx, dword [esi + 0x14]
cmp ebx, ecx
mov dword [esi + 0x10], ebx
jne 0x48541b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [esi + 0x1c]
mov edx, eax
and edx, 0xffff
jle 0x48543c
mov edi, dword [esi + 0x18]
cmp dword [edi], ebx
je 0x486680
inc ecx
add edi, 4
cmp ecx, edx
jl 0x48542c
inc eax
mov word [esi + 0x1c], ax
and eax, 0xffff
shl eax, 2
push eax
mov eax, dword [esi + 0x18]
push eax
call fcn.0047a450
add esp, 8
test eax, eax
jne 0x485478
mov ecx, dword [esi]
push ecx
push 0x5c579c
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
xor edx, edx
mov dx, word [esi + 0x1c]
mov dword [esi + 0x18], eax
push esi
mov dword [eax + edx*4 - 4], ecx
call dword [esi + 0x1e4]
mov eax, dword [esi + 0xc]
add esp, 4
inc word [esi + 0x184]
mov dword [esp + 0x2c], 0
test ah, 8
jne 0x485607
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x21c]
push 0
push edx
push eax
call dword [esi + 0x228]
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp eax, ecx
je 0x4854e8
mov ecx, dword [esi]
push ecx
push 0x5c5774
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x21c]
lea edx, [esp + 0x20]
push 2
push edx
push eax
call dword [esi + 0x220]
add esp, 0xc
cmp eax, 2
je 0x485522
mov ecx, dword [esi]
push ecx
push 0x5c574c
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0xc], 0x80
je 0x485535
lea edx, [esp + 0x20]
push edx
call fcn.00484760
add esp, 4
mov ecx, dword [esp + 0x20]
xor ebx, ebx
and ecx, 0xffff
lea edi, [ecx + ecx*2]
shl edi, 2
test ecx, ecx
je 0x485568
mov eax, 0xaaaaaaab
mul edi
shr edx, 3
cmp edx, ecx
jne 0x485568
push edi
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48557d
mov eax, dword [esi]
push 0x5c5734
push 0x5c5728
push eax
call fcn.0047a410
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x48558e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x21c]
and eax, 0xffff
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
push ebx
push edx
call dword [esi + 0x220]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
shl ecx, 2
cmp eax, ecx
je 0x4855ee
mov edx, dword [esi]
push edx
push 0x5c5704
push 0x57a9c4
call fcn.0047a410
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x21c]
lea eax, [esp + 0x2c]
push 4
push eax
push ecx
call dword [esi + 0x220]
jmp 0x48574d
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x210]
lea ecx, [eax + 2]
cmp ecx, edx
mov dword [esp + 0x24], ecx
jbe 0x485639
mov edx, dword [esi]
push edx
push 0x5c574c
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20c]
push 2
add ecx, eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0047a510
mov al, byte [esi + 0xc]
add esp, 0xc
test al, 0x80
je 0x485665
lea eax, [esp + 0x20]
push eax
call fcn.00484760
add esp, 4
mov ecx, dword [esp + 0x20]
xor ebx, ebx
and ecx, 0xffff
lea edi, [ecx + ecx*2]
shl edi, 2
test ecx, ecx
je 0x485698
mov eax, 0xaaaaaaab
mul edi
shr edx, 3
cmp edx, ecx
jne 0x485698
push edi
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4856ad
mov ecx, dword [esi]
push 0x5c5734
push 0x5c5728
push ecx
call fcn.0047a410
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x4856be
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
and eax, 0xffff
mov ecx, dword [esi + 0x210]
lea eax, [eax + eax*2]
shl eax, 2
lea edx, [eax + edi]
cmp edx, ecx
jbe 0x485709
mov eax, dword [esi]
push eax
push 0x5c56e4
push 0x57a9c4
call fcn.0047a410
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20c]
push eax
add ecx, edi
push ecx
push ebx
call fcn.0047a510
mov eax, dword [esp + 0x2c]
add esp, 0xc
and eax, 0xffff
lea edx, [eax + eax*2]
lea eax, [edi + edx*4]
mov edx, dword [esi + 0x210]
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x485750
mov edx, dword [esi + 0x20c]
push 4
add edx, eax
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0047a510
add esp, 0xc
test byte [esi + 0xc], 0x80
je 0x485763
lea ecx, [esp + 0x2c]
push ecx
call fcn.00484770
add esp, 4
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
and al, 0xbf
push esi
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
call fcn.00477510
push esi
call fcn.004778e0
push 1
push 0x11c
push esi
call fcn.004773c0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edi, eax
add esp, 0x14
and edi, 0xffff
jle 0x4857e6
test byte [esi + 0xc], 0x80
je 0x4857bc
push 2
push ebx
call fcn.00484790
lea eax, [ebx + 4]
push 2
push eax
call fcn.004847c0
add esp, 0x10
cmp word [ebx], 0x115
jne 0x4857da
push ebx
push esi
call fcn.00487360
add esp, 8
test eax, eax
je 0x486673
mov word [ebx], 0
dec edi
add ebx, 0xc
test edi, edi
jg 0x4857a0
mov eax, dword [esp + 0x20]
xor edi, edi
and eax, 0xffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
jle 0x485d0e
mov ecx, dword [esp + 0x1c]
add ecx, 2
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x23c]
jge case.default.0x485ba2
mov edx, dword [esp + 0xc]
lea eax, [edx - 2]
mov dword [esp + 0x14], eax
mov ax, word [eax]
test ax, ax
je case.default.0x485ba2
mov ecx, dword [esi + 0x238]
and eax, 0xffff
mov edx, dword [ecx + edi*4]
cmp eax, dword [edx]
jae 0x485866
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x485860
mov eax, dword [esi]
push eax
push 0x5c56a0
push 0x57a9c4
call fcn.0047a3e0
add esp, 0xc
mov dword [esp + 0x28], 1
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x23c]
cmp edi, eax
jge 0x4858b0
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dx, word [ecx]
mov ecx, dword [esi + 0x238]
lea ecx, [ecx + edi*4]
mov ebx, dword [ecx]
cmp dword [ebx], edx
jae 0x485890
inc edi
add ecx, 4
cmp edi, eax
jl 0x485882
cmp edi, eax
mov dword [esp + 0x10], edi
jge 0x4858b0
mov edx, dword [esi + 0x238]
mov ebx, dword [esp + 0x14]
mov ecx, dword [edx + edi*4]
xor edx, edx
mov dx, word [ebx]
cmp dword [ecx], edx
je 0x485928
jmp 0x4858b4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov edx, dword [esi]
xor ecx, ecx
xor eax, eax
mov cx, word [edi]
mov ax, word [ebx]
push ecx
push eax
push eax
push edx
push 0x5c566c
push 0x57a9c4
call fcn.0047a3e0
add esp, 0x18
xor eax, eax
mov ax, word [edi]
xor ecx, ecx
mov cx, word [ebx]
push 1
push eax
push ecx
push esi
call fcn.00484db0
add esp, 0xc
push eax
push esi
call fcn.00484b10
mov eax, dword [esi + 0x23c]
add esp, 0xc
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x485928
mov ecx, dword [esi + 0x238]
xor edx, edx
mov dx, word [ebx]
mov ebx, dword [ecx]
cmp dword [ebx], edx
jae 0x485924
inc edi
add ecx, 4
cmp edi, eax
jl 0x485916
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x238]
mov ebx, dword [ecx + edi*4]
lea edx, [ecx + edi*4]
cmp word [ebx + 0xc], 0
je 0x4859e3
mov ecx, dword [esp + 0xc]
mov cx, word [ecx]
cmp cx, word [ebx + 8]
je 0x48598f
jmp 0x485952
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x10], eax
jge 0x48598b
mov edi, dword [ebx + 8]
test edi, edi
mov edi, dword [esp + 0x10]
je 0x48598f
mov ebx, dword [edx + 4]
inc edi
add edx, 4
cmp edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edx
jge 0x4859b9
mov edi, dword [esp + 0x14]
xor edx, edx
mov dx, word [edi]
mov edi, dword [ebx]
cmp edi, edx
jne 0x4859b5
cmp cx, word [ebx + 8]
jne 0x48594e
mov edi, dword [esp + 0x10]
mov ax, word [ebx + 4]
cmp ax, 0xffff
je 0x485a4d
cmp ax, 0xfffd
je 0x485a4d
cmp ax, 0xfffe
jne 0x4859f1
xor eax, eax
mov ax, word [esi + 0x5a]
jmp 0x4859f4
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x238]
and ecx, 0xffff
mov eax, dword [eax + edi*4 - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [esi]
push edx
push ecx
push eax
push 0x5c563c
push 0x57a9c4
call fcn.0047a3e0
add esp, 0x14
mov eax, dword [esp + 0x14]
mov word [eax], 0
jmp case.default.0x485ba2
movsx eax, ax
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 2]
cmp eax, ecx
jbe 0x485a22
mov edx, dword [esp + 0x14]
push eax
push ecx
xor ecx, ecx
mov cx, word [edx]
push ecx
push esi
call fcn.00484d70
mov eax, dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 8
push eax
push 0x5c55f8
push ecx
jmp 0x4859db
jae 0x485a51
push eax
mov eax, dword [esp + 0x18]
xor edx, edx
push ecx
mov dx, word [eax]
push edx
push esi
call fcn.00484d70
mov ecx, dword [eax + 0x10]
mov edx, dword [esi]
add esp, 8
push ecx
push 0x5c55b4
push edx
call fcn.0047a3e0
add esp, 0x14
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov ax, word [ecx]
cmp eax, 0x11c
jg 0x485b87
je case.0x485ba2.322
add eax, 0xffffff00
cmp eax, 0x17
ja case.default.0x485ba2
xor edx, edx
mov dl, byte [eax + 0x486960]
jmp dword [edx*4 + 0x486950]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 2], 1
jne 0x485afd
cmp word [esi + 0x170], 0x4d4d
jne 0x485ac0
mov eax, ecx
mov ecx, dword [esi + 0x178]
xor edx, edx
mov dx, word [eax]
mov eax, dword [eax + 6]
shl edx, 2
mov ecx, dword [ecx + edx]
shr eax, cl
mov ecx, dword [esi + 0x17c]
and eax, dword [ecx + edx]
jmp 0x485ad3
mov eax, dword [esi + 0x17c]
xor edx, edx
mov dx, word [ecx]
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 6]
and eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
xor ecx, ecx
and eax, 0xffff
mov cx, word [edx]
push eax
push ecx
push esi
call fcn.004773c0
add esp, 0xc
test eax, eax
je 0x486673
jmp case.default.0x485ba2
cmp word [ecx], 4
jne 0x485b45
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
push esi
call fcn.00487dd0
add esp, 0xc
test eax, eax
je 0x486673
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dx, word [ebx]
and ecx, 0xffff
push ecx
push edx
push esi
call fcn.004773c0
add esp, 0xc
test eax, eax
je 0x486673
jmp 0x485ced
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push ebx
push esi
call fcn.00487c20
add esp, 0xc
test eax, eax
je 0x486673
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dx, word [ebx]
and ecx, 0xffff
push ecx
push edx
push esi
call fcn.004773c0
add esp, 0xc
test eax, eax
je 0x486673
jmp 0x485ced
cmp eax, 0x152
jg 0x485cc9
je 0x485bcf
add eax, 0xfffffebe
cmp eax, 3
ja case.default.0x485ba2
jmp dword [eax*4 + 0x486978]
xor ecx, ecx
mov edx, 1
mov cx, word [ebx + 0xc]
mov eax, ecx
and ecx, 0x1f
shr eax, 5
shl edx, cl
mov ecx, dword [esi + eax*4 + 0x20]
lea eax, [esi + eax*4 + 0x20]
or ecx, edx
mov dword [eax], ecx
jmp case.default.0x485ba2
mov eax, dword [edx + 2]
lea ebx, [esp + 0x54]
cmp eax, 0xa
jbe 0x485c1c
xor ebx, ebx
lea ecx, [eax + eax]
test eax, eax
je 0x485bfb
mov edx, ecx
shr edx, 1
cmp edx, eax
jne 0x485bfb
push ecx
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x485c18
mov eax, dword [esi]
push 0x5c559c
push 0x5c5728
push eax
call fcn.0047a410
add esp, 0xc
test ebx, ebx
je 0x485cbe
mov edx, dword [esp + 0xc]
cmp word [edx], 1
jne 0x485c33
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push esi
call fcn.00486d60
add esp, 0xc
jmp 0x485c8d
mov eax, dword [edx + 2]
cmp eax, 2
ja 0x485c78
cmp word [esi + 0x170], 0x4d4d
jne 0x485c5f
dec eax
je 0x485c54
dec eax
jne 0x485c91
mov ax, word [edx + 6]
mov word [ebx + 2], ax
mov ecx, dword [edx + 6]
shr ecx, 0x10
mov word [ebx], cx
jmp 0x485c91
dec eax
je 0x485c6f
dec eax
jne 0x485c91
mov eax, dword [edx + 6]
shr eax, 0x10
mov word [ebx + 2], ax
mov cx, word [edx + 6]
mov word [ebx], cx
jmp 0x485c91
mov edx, dword [esp + 0x14]
push ebx
push edx
push esi
call fcn.00486c10
add esp, 0xc
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x485cad
mov eax, dword [esp + 0xc]
xor edx, edx
push ebx
mov ecx, dword [eax + 2]
mov eax, dword [esp + 0x18]
push ecx
mov dx, word [eax]
push edx
push esi
call fcn.004773c0
add esp, 0x10
lea ecx, [esp + 0x54]
cmp ebx, ecx
je 0x485cbe
push ebx
call fcn.0047a440
add esp, 4
mov edx, dword [esp + 0x14]
mov word [edx], 0
jmp case.default.0x485ba2
cmp eax, 0x80e5
jl case.default.0x485ba2
cmp eax, 0x80e6
jg case.default.0x485ba2
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.00487360
add esp, 8
test eax, eax
je 0x486673
mov word [ebx], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
dec eax
add edx, 0xc
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], edx
jg 0x485806
mov eax, dword [esi + 0x20]
test al, 2
jne 0x485d22
mov eax, dword [esi]
push 0x5c51f8
push eax
jmp 0x48651d
test eax, 0x100000
jne 0x485d36
mov ecx, dword [esi]
push 0x5c50cc
push ecx
jmp 0x48651d
test al, 4
mov edi, 0x400
push esi
jne 0x485d68
call fcn.00476e80
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov eax, dword [esi + 0xc]
add esp, 4
and ah, 0xfb
jmp 0x485d7b
call fcn.0047a830
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xc]
add esp, 4
or eax, edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xd8]
test eax, eax
jne 0x485dc3
test dword [esi + 0xc], edi
mov eax, 0x5c5594
jne 0x485d97
mov eax, 0x5c558c
mov edx, dword [esi]
push eax
push edx
push 0x5c5568
push 0x57a9c4
call fcn.0047a410
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x82], 2
mov dword [esi + 0xd4], eax
jne 0x485de3
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 0x5a]
div ecx
mov dword [esi + 0xd4], eax
test dword [esi + 0x20], 0x2000000
jne 0x485e01
test dword [esi + 0xc], edi
mov eax, 0x5c4f8c
jne 0x485dfb
mov eax, 0x5c5154
push eax
jmp 0x48651a
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
and eax, 0xffff
mov dword [esp + 0x24], eax
jle 0x4864c2
mov cx, word [edi]
test cx, cx
je case.0x4863cf.2
mov eax, ecx
and eax, 0xffff
cmp eax, 0x141
jg 0x485fe6
je case.0x48600e.326
add eax, 0xffffff01
cmp eax, 0x41
ja case.0x48600e.328
xor edx, edx
mov dl, byte [eax + 0x4869a4]
jmp dword [edx*4 + 0x486988]
mov cl, byte [esi + 0x4c]
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], edx
mov ax, word [edi]
cmp ax, 0x140
je 0x485e75
cmp dword [edi + 4], edx
je 0x485ed4
mov ebx, dword [edi + 4]
lea ecx, [edx + edx*2]
cmp ecx, ebx
jbe 0x485ea9
push ecx
and eax, 0xffff
push ebx
push eax
push esi
call fcn.00484d70
mov eax, dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 8
push eax
push 0x5c55f8
push ecx
call fcn.0047a3e0
add esp, 0x14
jmp case.0x4863cf.2
jae 0x485ed4
push ecx
and eax, 0xffff
push ebx
push eax
push esi
call fcn.00484d70
mov edx, dword [eax + 0x10]
mov eax, dword [esi]
add esp, 8
push edx
push 0x5c55b4
push eax
call fcn.0047a3e0
mov edx, dword [esp + 0x2c]
add esp, 0x14
lea ecx, [edx + edx]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 4]
test eax, eax
lea ecx, [eax + eax]
je 0x485efe
mov edx, ecx
shr edx, 1
cmp edx, eax
jne 0x485efe
push ecx
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x485f1b
mov eax, dword [esi]
push 0x5c5548
push 0x5c5728
push eax
call fcn.0047a410
add esp, 0xc
test ebx, ebx
je case.0x4863cf.2
push ebx
push edi
push esi
call fcn.00486c10
add esp, 0xc
test eax, eax
je 0x485f5f
mov cl, byte [esi + 0x4c]
mov eax, dword [edi + 4]
mov edx, 1
shl edx, cl
cmp eax, edx
jne 0x485f43
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x485f47
mov eax, dword [esp + 0x18]
lea ecx, [ebx + eax*2]
lea edx, [ebx + eax]
xor eax, eax
push ecx
mov ax, word [edi]
push edx
push ebx
push eax
push esi
call fcn.004773c0
add esp, 0x14
push ebx
call fcn.0047a440
add esp, 4
jmp case.0x4863cf.2
cmp word [esi + 0x170], 0x4d4d
mov dword [esp + 0x18], 0
jne 0x485fa2
mov ecx, dword [esi + 0x178]
mov eax, dword [edi + 8]
xor edx, edx
mov dx, word [edi + 2]
shl edx, 2
mov ecx, dword [ecx + edx]
shr eax, cl
mov ecx, dword [esi + 0x17c]
and eax, dword [ecx + edx]
jmp 0x485fb6
mov eax, dword [esi + 0x17c]
mov ecx, dword [edi + 8]
xor edx, edx
mov dx, word [edi + 2]
mov eax, dword [eax + edx*4]
and eax, ecx
sub eax, 2
je 0x485fc9
dec eax
jne case.0x4863cf.2
mov eax, 2
jmp 0x485fce
mov eax, 1
push eax
push 0xfe
push esi
mov dword [esp + 0x24], eax
call fcn.004773c0
add esp, 0xc
jmp case.0x4863cf.2
cmp eax, 0x155
jg 0x4861a6
cmp eax, 0x154
jge 0x48604f
add eax, 0xfffffebc
cmp eax, 0xf
ja case.0x48600e.328
xor edx, edx
mov dl, byte [eax + 0x4869fc]
jmp dword [edx*4 + 0x4869e8]
mov ecx, dword [esi + 0xd8]
lea eax, [esi + 0xdc]
push eax
push ecx
push edi
push esi
call fcn.00487f50
add esp, 0x10
jmp 0x48625f
mov eax, dword [esi + 0xd8]
lea edx, [esi + 0xe0]
push edx
push eax
push edi
push esi
call fcn.00487f50
add esp, 0x10
jmp 0x48625f
mov dx, word [esi + 0x5a]
mov ecx, dword [edi + 4]
mov ebx, edx
mov dword [esp + 0x10], edx
and ebx, 0xffff
mov dword [esp + 0x14], 0
cmp ebx, ecx
ja 0x486484
jae 0x486098
push ebx
push ecx
push eax
push esi
call fcn.00484d70
mov ecx, dword [eax + 0x10]
mov edx, dword [esi]
add esp, 8
push ecx
push 0x5c55b4
push edx
call fcn.0047a3e0
mov edx, dword [esp + 0x24]
add esp, 0x14
lea eax, [esp + 0x68]
cmp dx, 0xa
mov dword [esp + 0xc], eax
jbe 0x4860f0
test ebx, ebx
mov dword [esp + 0x28], 0
lea eax, [ebx*8]
je 0x4860d3
mov ecx, eax
shr ecx, 3
cmp ecx, ebx
jne 0x4860d3
push eax
call fcn.0047a430
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4860ec
mov edx, dword [esi]
push 0x5c552c
push 0x5c5728
push edx
call fcn.0047a410
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x486673
mov ebx, eax
push ebx
push edi
push esi
call fcn.00486f10
add esp, 0xc
test eax, eax
je 0x486149
mov edx, dword [esp + 0x10]
mov ecx, 1
cmp dx, cx
jbe 0x486134
mov eax, ecx
and eax, 0xffff
fld qword [ebx + eax*8]
fcomp qword [ebx]
fnstsw ax
test ah, 0x40
je 0x486184
inc ecx
cmp cx, dx
jb 0x48611b
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], 1
lea eax, [esp + 0x68]
cmp ebx, eax
je 0x48615a
push ebx
call fcn.0047a440
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x486673
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
xor eax, eax
push ecx
mov ax, word [edi]
push edx
push eax
push esi
call fcn.004773c0
add esp, 0x10
jmp 0x48625f
xor ecx, ecx
mov cx, word [edi]
push ecx
push esi
call fcn.00484d70
mov edx, dword [eax + 0x10]
mov eax, dword [esi]
push edx
push 0x5c54f0
push eax
call fcn.0047a410
add esp, 0x14
jmp 0x486149
sub eax, 0x212
je case.0x48600e.326
sub eax, 2
je 0x486289
sub eax, 0x7ed0
je case.0x48600e.327
push edi
push esi
call fcn.00487360
add esp, 8
jmp case.0x4863cf.2
cmp dword [edi + 4], 1
jne 0x486221
cmp word [esi + 0x170], 0x4d4d
jne 0x486207
mov ecx, dword [esi + 0x178]
mov eax, dword [edi + 8]
xor edx, edx
mov dx, word [edi + 2]
shl edx, 2
mov ecx, dword [ecx + edx]
shr eax, cl
mov ecx, dword [esi + 0x17c]
and eax, dword [ecx + edx]
mov dword [esp + 0x18], eax
jmp 0x48624a
mov eax, dword [esi + 0x17c]
mov ecx, dword [edi + 8]
xor edx, edx
mov dx, word [edi + 2]
mov eax, dword [eax + edx*4]
and eax, ecx
mov dword [esp + 0x18], eax
jmp 0x48624a
cmp cx, 0x102
jne 0x48626c
cmp word [edi + 2], 4
jne 0x48626c
lea edx, [esp + 0x18]
push edx
push edi
push esi
call fcn.00487dd0
add esp, 0xc
test eax, eax
je 0x486673
mov eax, dword [esp + 0x18]
xor ecx, ecx
and eax, 0xffff
mov cx, word [edi]
push eax
push ecx
push esi
call fcn.004773c0
add esp, 0xc
test eax, eax
je 0x486673
jmp case.0x4863cf.2
lea edx, [esp + 0x34]
push edx
push edi
push esi
call fcn.00487c20
add esp, 0xc
test eax, eax
je 0x486673
mov eax, dword [esp + 0x34]
jmp 0x48624a
cmp word [edi + 2], 5
jne 0x48629f
push edi
push esi
call fcn.00487360
add esp, 8
jmp case.0x4863cf.2
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0xc], ebx
lea ecx, [eax*4]
je 0x4862cf
mov edx, ecx
shr edx, 2
cmp edx, eax
jne 0x4862cf
push ecx
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4862f0
mov eax, dword [esi]
push 0x57aa14
push 0x5c5728
push eax
call fcn.0047a410
add esp, 0xc
test ebx, ebx
je case.0x4863cf.2
mov ebx, dword [esp + 0xc]
cmp dword [edi + 4], 1
jne 0x4862fd
mov ecx, dword [edi + 8]
mov dword [ebx], ecx
jmp 0x486318
push ebx
push edi
push esi
call fcn.00486c10
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x30], eax
je 0x4863b1
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebx
lea ecx, [eax*4]
je 0x486348
mov edx, ecx
shr edx, 2
cmp edx, eax
jne 0x486348
push ecx
call fcn.0047a430
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x486361
mov eax, dword [esi]
push 0x57aa14
push 0x5c5728
push eax
call fcn.0047a410
add esp, 0xc
test ebx, ebx
je 0x4863ad
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
jbe 0x486397
mov edx, dword [esp + 0xc]
mov eax, ebx
sub edx, dword [esp + 0x10]
mov ebx, dword [edx + eax]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ebx
inc ecx
fild qword [esp + 0x4c]
add eax, 4
fstp dword [eax - 4]
cmp ecx, dword [edi + 4]
jb 0x486374
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push ebx
mov cx, word [edi]
push ecx
push esi
call fcn.004773c0
push ebx
call fcn.0047a440
add esp, 0x10
mov ebx, dword [esp + 0xc]
push ebx
call fcn.0047a440
add esp, 4
jmp case.0x4863cf.2
xor eax, eax
mov ax, word [edi + 2]
dec eax
cmp eax, 7
ja case.0x4863cf.2
jmp dword [eax*4 + 0x486a0c]
mov eax, dword [edi + 4]
cmp eax, 2
ja 0x486421
cmp word [esi + 0x170], 0x4d4d
jne 0x486405
dec eax
je 0x4863f8
dec eax
jne 0x48644b
mov dx, word [edi + 8]
mov word [esp + 0x3a], dx
mov eax, dword [edi + 8]
shr eax, 0x10
mov word [esp + 0x38], ax
jmp 0x48644b
dec eax
je 0x486416
dec eax
jne 0x48644b
mov ecx, dword [edi + 8]
shr ecx, 0x10
mov word [esp + 0x3a], cx
mov dx, word [edi + 8]
mov word [esp + 0x38], dx
jmp 0x48644b
lea eax, [esp + 0x38]
push eax
push edi
push esi
call fcn.00486c10
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x486447
lea ecx, [esp + 0x38]
push ecx
push edi
push esi
call fcn.00486d60
add esp, 0xc
test eax, eax
je case.0x4863cf.2
mov edx, dword [esp + 0x3a]
mov eax, dword [esp + 0x38]
and edx, 0xffff
xor ecx, ecx
mov cx, word [edi]
and eax, 0xffff
push edx
push eax
push ecx
push esi
call fcn.004773c0
add esp, 0x10
mov eax, dword [esp + 0x24]
add edi, 0xc
dec eax
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4864c2
jmp 0x485e18
mov edx, dword [edi + 4]
xor eax, eax
mov ax, word [edi]
push ebx
push edx
push eax
push esi
call fcn.00484d70
mov ecx, dword [eax + 0x10]
mov edx, dword [esi]
add esp, 8
push ecx
push 0x5c55f8
push edx
call fcn.0047a3e0
mov ecx, dword [esp + 0x30]
add esp, 0x14
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x52], 3
jne 0x4864dc
test dword [esi + 0x20], 0x4000000
jne 0x4864dc
mov eax, dword [esi]
push 0x5c54e4
push eax
jmp 0x48651d
test dword [esi + 0x20], 0x1000000
jne 0x4865e0
mov ax, word [esi + 0x82]
cmp ax, 1
jne 0x4864ff
cmp dword [esi + 0xd8], 1
ja 0x486515
cmp ax, 2
jne 0x486545
mov eax, dword [esi + 0xd8]
xor ecx, ecx
mov cx, word [esi + 0x5a]
cmp eax, ecx
je 0x486545
push 0x5c5118
mov edx, dword [esi]
push edx
push 0x5c54b0
push 0x57a9f0
call fcn.0047a410
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x117
push esi
call fcn.00484d70
mov eax, dword [eax + 0x10]
mov ecx, dword [esi]
push eax
push ecx
push 0x5c5460
push 0x57a9c4
call fcn.0047a3e0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
call fcn.00486a30
add esp, 0x24
test eax, eax
jl 0x486673
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047a440
mov eax, dword [esi + 0x20]
add esp, 4
test eax, 0x80000
mov ebx, 1
jne 0x4865a9
mov cl, byte [esi + 0x4c]
mov eax, ebx
shl eax, cl
dec eax
mov word [esi + 0x62], ax
mov edx, dword [esi + 0xd8]
cmp edx, ebx
jbe 0x486693
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], ebx
mov ecx, ebx
add eax, 4
mov edi, dword [eax - 4]
cmp edi, dword [eax]
ja 0x486689
inc ecx
add eax, 4
cmp ecx, edx
jb 0x4865c8
jmp 0x486693
mov ecx, dword [esi + 0xd8]
mov eax, 1
cmp ecx, eax
jne 0x486581
mov ecx, dword [esi + 0xe0]
cmp dword [ecx], 0
jne 0x486605
mov edx, dword [esi + 0xdc]
cmp dword [edx], 0
jne 0x486637
cmp word [esi + 0x50], ax
jne 0x486581
mov eax, dword [esi + 0x21c]
push eax
call dword [esi + 0x230]
mov ecx, dword [esi + 0xdc]
add esp, 4
mov edx, dword [ecx]
sub eax, edx
mov edx, dword [esi + 0xe0]
cmp dword [edx], eax
jbe 0x486581
push 0x117
push esi
call fcn.00484d70
mov eax, dword [eax + 0x10]
mov ecx, dword [esi]
push eax
push ecx
push 0x5c5420
push 0x57a9c4
call fcn.0047a3e0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
call fcn.00486a30
add esp, 0x24
test eax, eax
jge 0x486581
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047a440
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xe4], 0
test byte [esi + 0x20], 0x80
jne 0x4866a8
push ebx
push 0x103
push esi
call fcn.004773c0
add esp, 0xc
cmp dword [esi + 0xd8], ebx
jne 0x48688f
cmp word [esi + 0x50], bx
jne 0x48688f
mov ecx, dword [esi + 0xc]
and ecx, 0x8400
cmp ecx, 0x8000
jne 0x48688f
mov edx, dword [esi + 0xe0]
mov ecx, dword [esi + 0xdc]
push ebx
push esi
mov eax, dword [edx]
mov edx, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
call fcn.0047a9e0
mov ecx, eax
add esp, 8
cmp ecx, 0x2000
jle 0x486709
mov eax, ebx
mov edi, ecx
mov dword [esp + 0x10], eax
jmp 0x486722
test ecx, ecx
jle 0x48688f
mov eax, 0x2000
cdq
idiv ecx
mov edi, eax
mov dword [esp + 0x10], eax
imul edi, ecx
cmp eax, dword [esi + 0x5c]
jae 0x48688f
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0xc], 0
lea eax, [edi + eax - 1]
div edi
mov ebx, eax
test ebx, ebx
lea eax, [ebx*4]
je 0x48676b
shr eax, 2
cmp eax, ebx
jne 0x48676b
lea eax, [ebx*4]
push eax
call fcn.0047a430
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x486780
mov ecx, dword [esi]
push 0x5c53fc
push 0x5c5728
push ecx
call fcn.0047a410
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x1c], 0
je 0x4867b2
lea eax, [ebx*4]
shr eax, 2
cmp eax, ebx
jne 0x4867b2
lea eax, [ebx*4]
push eax
call fcn.0047a430
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4867c7
mov edx, dword [esi]
push 0x5c53d8
push 0x5c5728
push edx
call fcn.0047a410
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x48687e
test eax, eax
je 0x486877
test ebx, ebx
jbe 0x486820
sub ecx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
cmp edi, edx
jle 0x4867fb
mov edi, edx
mov edx, dword [esp + 0x14]
add eax, 4
mov dword [edx + eax - 4], edi
mov edx, dword [esp + 0x24]
sub edx, edi
mov dword [eax - 4], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
add ecx, edi
dec edx
mov dword [esp + 0x28], edx
jne 0x4867f1
mov eax, dword [esp + 0x10]
mov dword [esi + 0xd8], ebx
push eax
push 0x116
push esi
mov dword [esi + 0xd4], ebx
call fcn.004773c0
mov ecx, dword [esi + 0xe0]
push ecx
call fcn.0047a440
mov edx, dword [esi + 0xdc]
push edx
call fcn.0047a440
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov dword [esi + 0xe0], eax
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe4], 1
jmp 0x48688f
mov edx, dword [esp + 0xc]
push edx
jmp 0x486887
test eax, eax
je 0x48688f
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047a440
add esp, 4
or eax, 0xffffffff
push esi
mov dword [esi + 0x180], eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], eax
call fcn.00477280
add esp, 4
mov dword [esi + 0x1f4], eax
test eax, eax
jne 0x4868e1
mov ecx, dword [esi]
push ecx
push 0x5c53b0
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push esi
test ah, 4
je 0x48691a
call fcn.0047acb0
add esp, 4
mov dword [esi + 0x1a4], eax
test eax, eax
jne 0x486944
mov edx, dword [esi]
push edx
push 0x5c538c
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00477190
add esp, 4
test eax, eax
jne 0x486944
mov eax, dword [esi]
push eax
push 0x5c5368
push 0x57a9c4
call fcn.0047a410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret