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

Disassembly:
push 0xffffffffffffffff
push 0x544118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [esp + 0xd4]
push esi
push edi
xor edi, edi
mov esi, dword [eax + 8]
cmp esi, edi
mov dword [esp + 0x48], esi
je 0x48513e
mov ecx, 0x75757575
lea edx, [esp + 0xa8]
mov dword [esp + 0x70], ecx
push 8
lea eax, [esp + 0x61]
mov dword [esp + 0x78], ecx
push edx
push eax
mov word [esp + 0x84], cx
mov dword [esp + 0xb4], edi
mov word [esp + 0xb8], 0xffff
mov word [esp + 0xba], di
mov byte [esp + 0x68], 0x6a
call fcn.00474360
lea ecx, [esp + 0x71]
push 8
push ecx
call fcn.004743c0
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x6d], 0x36
mov byte [esp + 0x6e], 1
call fcn.00473490
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], edi
call fcn.00473490
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
call fcn.00473490
cmp esi, edi
mov byte [esp + 0xd0], 2
mov dword [esp + 0x30], edi
jle 0x4850e5
push ebx
push ebp
mov eax, dword [esp + 0xe0]
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xe4]
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0x40], ebx
mov ecx, dword [ebx + 0x64]
shr ecx, 2
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x64]
cmp ecx, edx
jne 0x48389b
xor ecx, ecx
jmp 0x48389e
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0xc8]
mov dword [esp + 0x30], ecx
cmp esi, edx
jne 0x4838b2
mov dword [esp + 0x10], edx
jmp 0x4838bc
mov esi, dword [ebx + 0xc0]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xec]
mov dword [esp + 0xac], edx
mov dword [esp + 0x2c], edx
mov esi, dword [esi + 8]
mov edi, dword [edi + 8]
mov esi, dword [esi + eax*4]
mov ebp, dword [edi + eax*4]
cmp esi, edx
mov edi, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + ebp*4]
mov dword [esp + 0x18], edi
mov edi, esi
jle 0x48392b
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
add eax, ecx
mov ecx, ebx
push eax
call fcn.004cd260
cmp eax, 1
je 0x483925
mov ecx, dword [esp + 0x24]
dec edi
sub ecx, 4
test edi, edi
mov dword [esp + 0x24], ecx
jg 0x4838fc
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + edi*4]
cmp edi, esi
mov dword [esp + 0xcc], edx
je 0x4839a4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xbc]
push edx
mov edx, dword [esp + 0x20]
push eax
push edx
push ecx
push ebx
call fcn.004a99c0
mov eax, dword [esp + 0x48]
add esp, 0x14
cmp esi, eax
jge 0x483989
mov eax, dword [esp + 0x30]
lea edi, [eax + esi*4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004cd260
cmp eax, 1
je 0x483985
mov eax, dword [esp + 0x34]
inc esi
add edi, 4
cmp esi, eax
jl 0x483964
cmp esi, dword [esp + 0x34]
je 0x48399c
cmp esi, ebp
jg 0x48399c
mov edx, dword [esp + 0x30]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x1c], eax
jmp 0x4839a4
mov dword [esp + 0x1c], 0xffffffff
test ebp, ebp
jle 0x4839ce
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
lea esi, [ecx + ebp*4]
mov edx, dword [esi]
mov ecx, ebx
add edx, edi
push edx
call fcn.004cd260
cmp eax, 1
je 0x4839d2
dec ebp
sub esi, 4
test ebp, ebp
jg 0x4839b3
jmp 0x4839d2
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + ebp*4]
lea ecx, [edi + ebp]
push ecx
call fcn.004aaf10
mov ecx, dword [esp + 0xd0]
add ebp, eax
mov eax, 0x38e38e39
mov esi, dword [esp + 0xc8]
mul ecx
add esp, 4
mov dword [esp + 0x18], ebp
shr edx, 1
neg ecx
sbb ecx, ecx
mov dword [esp + 0x48], edx
and ecx, esi
mov byte [esp + 0x3f], 0x16
test edx, edx
jle 0x483d11
add ecx, 0xa
mov dword [esp + 0x4c], 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx - 9]
mov ebp, dword [ecx - 5]
mov al, byte [ecx - 0xa]
mov dword [esp + 0x44], edi
lea edx, [edi + ebp]
cmp al, 1
mov dword [esp + 0x84], ebp
mov dword [esp + 0x30], edx
jne 0x483a65
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0xb8]
push eax
push ebp
push edi
mov ecx, esi
call fcn.004e8500
mov dword [esp + 0x24], edi
jmp 0x483a8f
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3f]
push ecx
push 1
push edx
lea esi, [ebx + 0xb8]
push ebp
push edi
mov ecx, esi
call fcn.004e8460
dec ebp
lea eax, [edi + 1]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x483aa0
mov dword [esp + 0x10], 0
jmp 0x483aa7
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp eax, edx
jge 0x483ac9
mov ecx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [ecx]
cmp eax, edi
jle 0x483ac3
sub eax, ebp
mov dword [ecx], eax
add ecx, 9
dec edx
jne 0x483ab9
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x483ad4
xor edi, edi
jmp 0x483ad7
mov edi, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x64]
xor esi, esi
shr eax, 2
xor ecx, ecx
mov dword [esp + 0x28], 0xffffffff
test eax, eax
jle 0x483baa
mov edx, dword [edi]
mov ebp, dword [esp + 0x30]
cmp edx, ebp
jge 0x483b15
cmp edx, dword [esp + 0x24]
jl 0x483b0d
cmp dword [esp + 0x28], 0xffffffff
jne 0x483b0c
mov dword [esp + 0x28], ecx
inc esi
inc ecx
add edi, 4
cmp ecx, eax
jl 0x483af1
test esi, esi
jle 0x483baa
mov eax, dword [esp + 0x28]
lea edx, [esi*4]
push edx
lea ecx, [eax*4]
push ecx
lea ecx, [ebx + 0x54]
call fcn.00473ed0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
cmp eax, ecx
jge 0x483baa
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x483ba1
mov ebp, dword [esp + 0xe8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x28]
jle 0x483ba1
sub ecx, esi
test eax, eax
jl 0x483b86
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x483b86
mov dword [edx], ecx
mov edx, dword [edi + 8]
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
sub ecx, esi
test eax, eax
jl 0x483ba1
mov ebp, dword [edi + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x483ba1
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jl 0x483b4f
mov eax, dword [ebx + 0x8c]
lea edi, [ebx + 0x7c]
test eax, eax
jne 0x483bbb
xor ecx, ecx
jmp 0x483bbe
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x8c]
shr eax, 2
dec eax
js 0x483c03
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483bfd
cmp eax, dword [esp + 0x30]
jge 0x483bfd
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483bfa
xor ecx, ecx
jmp 0x483bfd
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483bd4
mov eax, dword [ebx + 0xa0]
lea edi, [ebx + 0x90]
test eax, eax
jne 0x483c17
xor ecx, ecx
jmp 0x483c1a
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa0]
shr eax, 2
dec eax
js 0x483c5f
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483c59
cmp eax, dword [esp + 0x30]
jge 0x483c59
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483c56
xor ecx, ecx
jmp 0x483c59
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483c30
mov eax, dword [ebx + 0xb4]
lea edi, [ebx + 0xa4]
test eax, eax
jne 0x483c73
xor ecx, ecx
jmp 0x483c76
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb4]
shr eax, 2
dec eax
test eax, eax
jl 0x483cbd
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483cb7
cmp eax, dword [esp + 0x30]
jge 0x483cb7
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483cb4
xor ecx, ecx
jmp 0x483cb7
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483c8e
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov eax, esi
neg eax
push eax
push ecx
mov ecx, ebx
call fcn.004cb050
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x483cf0
mov ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, esi
sub eax, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x4c], eax
add edx, 9
dec eax
mov dword [esp + 0x34], edx
cmp eax, ecx
jl 0x483a28
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4850ce
test eax, eax
jle 0x483d32
mov edx, dword [esp + 0x10]
cmp byte [eax + edx - 1], 0x6d
jne 0x483d32
dec eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x78]
mov eax, 0x38e38e39
mul ecx
mov esi, edx
mov eax, ecx
shr esi, 1
test eax, eax
jne 0x483d4a
xor eax, eax
jmp 0x483d4d
mov eax, dword [ebx + 0x70]
push 0x4a8690
push 9
push esi
push eax
call fcn.0050404e
lea eax, [esi - 1]
add esp, 0x10
test eax, eax
mov dword [esp + 0x34], eax
jl 0x48478c
jmp 0x483d73
mov eax, dword [esp + 0x34]
lea edi, [eax + eax*8]
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x483d85
xor eax, eax
jmp 0x483d88
mov eax, dword [ebx + 0x70]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x60], cl
mov esi, dword [eax]
mov ebp, dword [eax + 4]
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jge case.default.0x483de1
cmp ebp, dword [esp + 0x1c]
jl case.default.0x483de1
cmp cl, 3
je 0x483dbe
cmp cl, 2
jne 0x483dce
cmp esi, dword [esp + 0x1c]
jge 0x483dce
cmp ebp, dword [esp + 0x18]
jge case.default.0x483de1
mov eax, dword [esp + 0x60]
and eax, 0xff
dec eax
cmp eax, 3
ja case.default.0x483de1
jmp dword [eax*4 + 0x485158]
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x483df3
xor eax, eax
jmp 0x483df6
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.004742c0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x44], eax
je 0x483e81
mov ecx, dword [ebx + 0x64]
mov edi, eax
mov eax, dword [ebx + 0x64]
inc edi
shr eax, 2
test ecx, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
jne 0x483e2c
xor ecx, ecx
jmp 0x483e2f
mov ecx, dword [ebx + 0x5c]
cmp edi, eax
jge 0x483e67
lea edx, [ecx + edi*4]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004cd260
cmp eax, 1
je 0x483e67
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x4c], ecx
jl 0x483e3a
mov eax, dword [esp + 0x44]
lea ecx, [ebx + 0x54]
sub edi, eax
shl edi, 2
lea edx, [eax*4]
push edi
push edx
call fcn.00473ed0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push 9
push eax
add ecx, 0x68
call fcn.00473ed0
mov ebx, dword [esp + 0x10]
lea ecx, [esi + ebx + 1]
call fcn.004ca4e0
mov dx, word [esi + ebx + 7]
mov edi, eax
mov eax, dword [esp + 0x20]
and edx, 0x87a4
mov word [esp + 0x6b], dx
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
inc edi
push 0x13
push ecx
push edi
push esi
lea ecx, [edx + 0xb8]
call fcn.004e8460
lea ebx, [esi + 0x13]
lea esi, [edi - 0x13]
test esi, esi
jle 0x483f15
mov edi, dword [esp + 0x40]
push 0
push esi
push ebx
mov ecx, edi
call fcn.004cb130
mov eax, esi
mov ecx, edi
neg eax
push eax
push ebx
call fcn.004cb050
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x483f05
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x483f13
sub eax, esi
mov dword [esp + 0x18], eax
sub ebp, esi
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xc8]
lea edi, [ecx + 0xb8]
test eax, eax
jne 0x483f2d
xor ebx, ebx
jmp 0x483f30
mov ebx, dword [edi + 8]
lea ecx, [ebx + ebp + 1]
call fcn.004ca4e0
mov dx, word [ebx + ebp + 7]
mov esi, eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push eax
inc esi
push 0x13
push ecx
and edx, 0x87a4
push esi
push ebp
mov ecx, edi
mov word [esp + 0x7f], dx
call fcn.004e8460
add esi, 0xffffffed
lea ebx, [ebp + 0x13]
test esi, esi
jle 0x483fa3
mov ecx, dword [esp + 0x40]
push 0
push esi
push ebx
call fcn.004cb130
mov ecx, dword [esp + 0x40]
mov edx, esi
neg edx
push edx
push ebx
call fcn.004cb050
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x483f95
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x483fa3
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
dec ebp
cmp ebp, eax
jl 0x483fc3
cmp ebp, dword [esp + 0x18]
jge 0x483fc3
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
push 0x75
push ebp
call fcn.004e8580
jmp 0x483ff6
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebp
call fcn.004cb050
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebp
mov ecx, edi
call fcn.004e8500
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jge 0x483ff6
mov ecx, eax
mov eax, dword [esp + 0x18]
dec ecx
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, eax
jne 0x484011
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov word [esp + 0x6b], ax
jmp case.default.0x483de1
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov word [esp + 0x6b], ax
jmp case.default.0x483de1
cmp esi, dword [esp + 0x1c]
jl 0x48409c
push 9
push edi
lea ecx, [ebx + 0x68]
call fcn.00473ed0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8580
cmp ebp, dword [esp + 0x18]
jl 0x484088
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004cb050
push edi
push 2
push ebp
mov ecx, esi
call fcn.004e8500
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x48407c
mov dword [esp + 0x10], 0
jmp case.default.0x483de1
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
jmp case.default.0x483de1
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.004e85f0
jmp case.default.0x483de1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push 2
lea esi, [ecx + edx]
mov ecx, ebx
push esi
call fcn.004cb050
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push 2
lea edi, [ebx + 0xb8]
push ecx
push esi
mov ecx, edi
call fcn.004e8380
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4840dc
mov dword [esp + 0x10], 0
jmp 0x4840e3
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc esi
add edx, 2
lea ecx, [esp + 0x54]
mov dword [eax], esi
push 2
mov dword [esp + 0x30], edx
mov byte [esp + 0x58], 0x52
mov byte [esp + 0x59], 0x73
push ecx
jmp 0x484771
mov edx, dword [esp + 0x10]
lea edi, [esi + edx + 1]
mov ecx, edi
call fcn.004ca4e0
add edi, eax
push 0
push edi
mov ecx, ebx
call fcn.004ccb60
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edi + eax - 1]
sub eax, edx
cmp esi, ecx
mov dword [esp + 0x24], eax
jl 0x4841fa
mov eax, dword [esp + 0x14]
push 9
push eax
lea ecx, [ebx + 0x68]
call fcn.00473ed0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8580
cmp ebp, dword [esp + 0x18]
jl 0x48419a
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004cb050
push edi
push 2
push ebp
mov ecx, esi
call fcn.004e8500
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484191
mov dword [esp + 0x10], 0
jmp 0x4841a9
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
jmp 0x4841a9
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.004e85f0
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x4841ea
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.004cb050
push edi
push 1
push ebp
mov ecx, esi
call fcn.004e8500
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4841de
mov dword [esp + 0x10], 0
jmp case.default.0x483de1
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x483de1
push edi
push 0x75
push ebp
mov ecx, esi
call fcn.004e8580
jmp case.default.0x483de1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
jge 0x4842e5
cmp eax, ecx
mov eax, dword [esp + 0x2c]
jl 0x48427f
add esi, eax
push 3
push esi
mov ecx, ebx
call fcn.004cb050
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push ecx
push 3
lea edi, [ebx + 0xb8]
push edx
push esi
mov ecx, edi
call fcn.004e8380
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484249
mov dword [esp + 0x10], 0
jmp 0x484250
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esi, 2
add edx, 3
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x54]
mov dword [ecx], esi
push 3
mov byte [esp + 0x58], 0x50
mov byte [esp + 0x59], 0x51
mov byte [esp + 0x5a], 0x72
push edx
jmp 0x484771
add esi, eax
push 2
push esi
mov ecx, ebx
call fcn.004cb050
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push ecx
push 2
lea edi, [ebx + 0xb8]
push edx
push esi
mov ecx, edi
call fcn.004e8380
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4842b6
mov dword [esp + 0x10], 0
jmp 0x4842bd
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc esi
add edx, 2
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x54]
mov dword [ecx], esi
push 2
mov byte [esp + 0x58], 0x51
mov byte [esp + 0x59], 0x72
push edx
jmp 0x484771
cmp eax, ecx
jl case.default.0x483de1
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge case.default.0x483de1
mov eax, ecx
mov ecx, dword [esp + 0x2c]
push 1
lea esi, [eax + ecx]
mov ecx, ebx
push esi
call fcn.004cb050
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push edx
push 1
push eax
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8380
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484337
mov dword [esp + 0x10], 0
jmp 0x48433e
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
push 0x50
inc ecx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xa0]
call fcn.004737d0
jmp case.default.0x483de1
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jl 0x484550
cmp ebp, dword [esp + 0x18]
jge 0x48437c
push 9
push edi
lea ecx, [ebx + 0x68]
call fcn.00473ed0
jmp case.default.0x483de1
mov edx, dword [esp + 0x20]
lea edi, [ebx + 0xb8]
push edx
push 0x75
push esi
mov ecx, edi
call fcn.004e8580
mov eax, dword [esp + 0x10]
inc esi
cmp byte [esi + eax], 0x6e
jne 0x48447e
mov eax, dword [esp + 0x18]
mov ebp, esi
cmp esi, eax
jge 0x48443c
mov ecx, dword [esp + 0x20]
push ecx
push 0x6a
push esi
mov ecx, edi
call fcn.004e8580
mov edx, dword [esp + 0x10]
inc esi
lea ecx, [esi + edx]
call fcn.004ca4e0
add esi, eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esi + eax]
push ecx
mov ecx, ebx
call fcn.004ccb60
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x48441c
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb050
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
push 1
push esi
call fcn.004e8500
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484413
mov dword [esp + 0x10], 0
jmp 0x48442c
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
jmp 0x48442c
mov ecx, dword [esp + 0x20]
push ecx
push 0x75
push esi
mov ecx, edi
call fcn.004e8580
inc esi
mov edx, dword [esp + 0x10]
cmp byte [esi + edx], 0x6e
je 0x4843a0
jmp 0x48447e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push 1
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x64], 0x6d
call fcn.004e8380
push 1
push esi
mov ecx, ebx
call fcn.004cb050
mov edx, dword [esp + 0x28]
mov dword [edx - 4], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484477
mov dword [esp + 0x10], 0
jmp 0x48447e
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x18]
jge case.default.0x483de1
mov ecx, dword [esp + 0x14]
push 9
push ecx
lea ecx, [ebx + 0x68]
call fcn.00473ed0
mov edx, dword [esp + 0x10]
push 0
mov ecx, ebx
lea eax, [esi + edx + 1]
push eax
call fcn.004ccb60
lea edi, [esi + eax]
mov eax, dword [esp + 0x18]
cmp edi, eax
jl 0x4844ed
push 0xfffffffffffffffe
push edi
mov ecx, ebx
call fcn.004cb050
mov ebp, dword [esp + 0x20]
push ebp
push 2
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.004e8500
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4844e4
mov dword [esp + 0x10], 0
jmp 0x484505
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], ecx
jmp 0x484505
mov ebp, dword [esp + 0x20]
push ebp
push 0x7575
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.004e85f0
cmp esi, dword [esp + 0x18]
jl 0x484540
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb050
push ebp
push 1
push esi
mov ecx, edi
call fcn.004e8500
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484534
mov dword [esp + 0x10], 0
jmp case.default.0x483de1
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x483de1
push ebp
push 0x75
push esi
mov ecx, edi
call fcn.004e8580
jmp case.default.0x483de1
mov ebp, dword [esp + 0x10]
inc esi
mov dword [esp + 0x24], 0
cmp byte [esi + ebp], 0x6e
jne 0x484654
jmp 0x48456d
mov ecx, dword [esp + 0x1c]
cmp esi, dword [esp + 0x18]
jge 0x484650
cmp esi, ecx
jl 0x4845a0
lea eax, [esi - 1]
mov edi, 1
cmp eax, ecx
jge 0x484597
cmp byte [esi + ebp - 1], 0x53
jne 0x484597
dec ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xb8], esi
jmp 0x4845a2
xor edi, edi
inc esi
lea ecx, [esi + ebp]
call fcn.004ca4e0
add esi, eax
push 0
lea ecx, [esi + ebp]
push ecx
mov ecx, ebx
call fcn.004ccb60
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x4845d3
cmp esi, dword [esp + 0x18]
jge 0x4845d3
mov eax, 1
jmp 0x4845d5
xor eax, eax
cmp eax, edi
je 0x484639
mov eax, 1
cmp edi, eax
jne 0x484635
cmp dword [esp + 0x24], eax
jne 0x4845f2
mov dword [esp + 0x24], 0
jmp 0x484639
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xb8]
push edi
lea ebp, [ebx + 0xb8]
push 0x6a
push edx
mov ecx, ebp
call fcn.004e8580
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb050
push edi
push 1
push esi
mov ecx, ebp
call fcn.004e8500
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x48462f
xor ebp, ebp
dec esi
jmp 0x484639
mov ebp, dword [ebp + 8]
dec esi
jmp 0x484639
mov dword [esp + 0x24], eax
mov al, byte [esi + ebp + 1]
inc esi
cmp al, 0x6e
je 0x484569
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
jmp 0x484654
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x24]
xor eax, eax
cmp edx, 1
mov dword [esp + 0x98], eax
jne 0x48467f
push 0x53
lea ecx, [esp + 0x8c]
call fcn.004737d0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x1c]
mov dl, byte [esi + ebp]
mov dword [esp + 0x30], 0xffffffff
cmp dl, 0x6e
je 0x4846ef
cmp esi, ecx
jl 0x4846a7
cmp esi, dword [esp + 0x18]
jge 0x4846a7
push 0x6f
lea ecx, [esp + 0x8c]
call fcn.004737d0
inc esi
push 0
mov ecx, ebx
lea eax, [esi + ebp]
push eax
call fcn.004ccb60
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x4846e8
cmp esi, dword [esp + 0x18]
jge 0x4846e8
push 0x7454
lea ecx, [esp + 0x8c]
call fcn.00473790
mov eax, dword [esp + 0x98]
lea ecx, [eax - 1]
mov dword [esp + 0x30], ecx
jmp 0x4846ef
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, eax
jle case.default.0x483de1
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push eax
mov ecx, ebx
lea esi, [edx + ebp]
push esi
call fcn.004cb050
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push edi
push ecx
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8380
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484737
mov dword [esp + 0x10], 0
jmp 0x48473e
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x484755
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add eax, ecx
add eax, ebp
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
add ebp, edi
push edi
neg eax
sbb eax, eax
mov dword [esp + 0x30], ebp
and eax, esi
push eax
lea ecx, [esp + 0xa4]
call fcn.00473d50
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jns 0x483d6f
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x484797
xor esi, esi
jmp 0x48479a
mov esi, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x64]
xor edi, edi
shr eax, 2
xor ecx, ecx
mov dword [esp + 0x28], 0xffffffff
test eax, eax
mov dword [esp + 0x24], edi
jle 0x484883
mov edx, dword [esi]
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jge 0x4847dc
cmp edx, dword [esp + 0x1c]
jl 0x4847d4
cmp dword [esp + 0x28], 0xffffffff
jne 0x4847d3
mov dword [esp + 0x28], ecx
inc edi
inc ecx
add esi, 4
cmp ecx, eax
jl 0x4847b8
test edi, edi
mov dword [esp + 0x24], edi
jle 0x484883
mov ecx, dword [esp + 0x28]
lea eax, [edi*4]
push eax
lea edx, [ecx*4]
lea ecx, [ebx + 0x54]
push edx
call fcn.00473ed0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jge 0x484883
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x48487a
mov ecx, dword [esp + 0xe8]
mov esi, dword [edi + 8]
mov ebp, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + eax*4]
mov esi, dword [esi + eax*4]
cmp ecx, ebp
lea edx, [edx + eax*4]
jle 0x48487a
test eax, eax
jl 0x48487a
mov ebp, dword [esp + 0xe8]
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x484860
sub ecx, dword [esp + 0x24]
mov dword [edx], ecx
test eax, eax
jl 0x48487a
mov ecx, dword [edi + 0x10]
shr ecx, 2
cmp eax, ecx
jge 0x48487a
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 8]
sub esi, ecx
mov dword [edx + eax*4], esi
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jl 0x484818
mov eax, dword [ebx + 0x8c]
lea edi, [ebx + 0x7c]
test eax, eax
jne 0x484894
xor ecx, ecx
jmp 0x484897
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x8c]
shr eax, 2
dec eax
js 0x4848dc
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4848d6
cmp eax, dword [esp + 0x18]
jge 0x4848d6
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4848d3
xor ecx, ecx
jmp 0x4848d6
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4848ad
mov eax, dword [ebx + 0xa0]
lea edi, [ebx + 0x90]
test eax, eax
jne 0x4848f0
xor ecx, ecx
jmp 0x4848f3
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa0]
shr eax, 2
dec eax
js 0x484938
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x484932
cmp eax, dword [esp + 0x18]
jge 0x484932
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48492f
xor ecx, ecx
jmp 0x484932
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x484909
mov eax, dword [ebx + 0xb4]
lea edi, [ebx + 0xa4]
test eax, eax
jne 0x48494c
xor ecx, ecx
jmp 0x48494f
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb4]
shr eax, 2
dec eax
js 0x484994
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x48498e
cmp eax, dword [esp + 0x18]
jge 0x48498e
push 4
push esi
mov ecx, edi
call fcn.00473ed0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48498b
xor ecx, ecx
jmp 0x48498e
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x484965
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
sub esi, ebp
mov ecx, ebx
mov eax, esi
neg eax
push eax
push ebp
call fcn.004cb050
mov edi, dword [esp + 0x20]
push edi
push esi
lea esi, [ebx + 0xb8]
push ebp
mov ecx, esi
call fcn.004e8500
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x4849dd
mov ecx, dword [esp + 0xa4]
push edi
push eax
push ecx
push eax
push ebp
mov ecx, esi
call fcn.004e8460
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4849e8
xor edi, edi
jmp 0x4849eb
mov edi, dword [esi + 8]
mov ebp, dword [ebx + 0xc8]
test ebp, ebp
jle 0x484a09
mov al, byte [edi + ebp - 1]
cmp al, 0x73
mov byte [esp + 0x3f], al
je 0x484a09
cmp al, 0x72
je 0x484a09
cmp al, 0x74
jne 0x484a33
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push edx
push 0x13
push eax
mov ecx, esi
call fcn.004e83f0
push ebp
lea ecx, [ebx + 0x54]
call fcn.00473750
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484a30
xor edi, edi
jmp 0x484a33
mov edi, dword [esi + 8]
mov ecx, dword [ebx + 0x78]
mov eax, 0x38e38e39
mul ecx
mov eax, ecx
shr edx, 1
test eax, eax
jne 0x484a49
xor eax, eax
jmp 0x484a52
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x28], ecx
mov eax, ecx
test edx, edx
jle 0x4850ce
mov dword [esp + 0x48], edx
jmp 0x484a64
mov eax, dword [esp + 0x28]
mov cl, byte [eax]
mov esi, dword [eax + 1]
inc eax
mov byte [esp + 0x60], cl
add eax, 4
mov edx, dword [eax]
add eax, 4
cmp cl, 3
mov dword [esp + 0x28], eax
je 0x4850bf
mov eax, dword [esp + 0x1c]
cmp esi, eax
jg 0x4850bf
dec eax
cmp edx, eax
jl 0x4850bf
mov eax, dword [esp + 0x60]
add esi, edi
and eax, 0xff
dec eax
je 0x484e35
dec eax
je 0x484d4f
sub eax, 2
jne 0x4850bf
mov al, byte [esi + 1]
inc esi
cmp al, 0x6e
jne 0x484bb4
inc esi
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp byte [esi], 0x53
jne 0x484b9f
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484aed
xor eax, eax
jmp 0x484af0
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408980
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xb8]
push ecx
push edx
mov ecx, ebp
call fcn.004e8380
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484b73
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473cb0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484b7f
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484b92
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x484bab
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x484bab
push 0
push esi
mov ecx, ebx
call fcn.004ccb60
add esi, eax
cmp byte [esi], 0x6e
je 0x484ac6
mov al, byte [esi + 1]
inc esi
cmp al, 0x54
jne 0x484c86
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484bd4
xor eax, eax
jmp 0x484bd7
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408980
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xb8]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.004e8380
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484c5a
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473cb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484c66
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484c79
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x484c92
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x484c92
push 0
push esi
mov ecx, ebx
call fcn.004ccb60
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004c9890
add esp, 4
cmp eax, 5
jne 0x4850bf
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484cbc
xor eax, eax
jmp 0x484cbf
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408980
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xb8]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.004e8380
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484d45
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473cb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484e23
mov eax, dword [esp + 0x14]
push eax
jmp 0x484e1c
inc esi
mov ecx, esi
call fcn.004ca4e0
add esi, eax
push 0
push esi
mov ecx, ebx
call fcn.004ccb60
mov cl, byte [esi + eax + 1]
lea esi, [esi + eax + 1]
push ecx
call fcn.004c9890
add esp, 4
cmp eax, 5
jne 0x4850bf
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484d91
xor eax, eax
jmp 0x484d94
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408980
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xb8]
push ecx
push edx
mov ecx, ebp
call fcn.004e8380
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484e17
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473cb0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484e23
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4850bc
xor edi, edi
jmp 0x4850bf
inc esi
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp byte [esi], 0x50
jne 0x484f0e
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484e5c
xor eax, eax
jmp 0x484e5f
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408980
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xb8]
push ecx
push edx
mov ecx, ebp
call fcn.004e8380
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484ee2
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473cb0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484eee
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484f01
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x484f1a
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x484f1a
push 0
push esi
mov ecx, ebx
call fcn.004ccb60
add esi, eax
cmp byte [esi], 0x51
jne 0x484fe9
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484f37
xor eax, eax
jmp 0x484f3a
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408980
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xb8]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.004e8380
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x484fbd
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473cb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x484fc9
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484fdc
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x484ff5
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x484ff5
push 0
push esi
mov ecx, ebx
call fcn.004ccb60
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004c9890
add esp, 4
cmp eax, 5
jne 0x4850bf
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48501f
xor eax, eax
jmp 0x485022
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408980
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xb8]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.004e8380
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb050
cmp esi, 0xffffffff
je 0x4850a5
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473cb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004a9940
add esp, 0x18
jmp 0x4850b1
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473750
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4850bc
xor edi, edi
jmp 0x4850bf
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x484a60
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x48385e
pop ebp
pop ebx
mov esi, 0x54d7d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
mov dword [esp + 0xb4], esi
call fcn.00473690
lea ecx, [esp + 0x80]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x80], esi
call fcn.00473690
lea ecx, [esp + 0x94]
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x94], esi
call fcn.00473690
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xcc
ret