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

Disassembly:
push 0xffffffffffffffff
push 0x5441c8
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 0x48517e
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.00474270
lea ecx, [esp + 0x71]
push 8
push ecx
call fcn.004742d0
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x6d], 0x36
mov byte [esp + 0x6e], 1
call fcn.004733a0
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], edi
call fcn.004733a0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
call fcn.004733a0
cmp esi, edi
mov byte [esp + 0xd0], 2
mov dword [esp + 0x30], edi
jle 0x485125
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 0x4838db
xor ecx, ecx
jmp 0x4838de
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0xc8]
mov dword [esp + 0x30], ecx
cmp esi, edx
jne 0x4838f2
mov dword [esp + 0x10], edx
jmp 0x4838fc
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 0x48396b
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.004cd2f0
cmp eax, 1
je 0x483965
mov ecx, dword [esp + 0x24]
dec edi
sub ecx, 4
test edi, edi
mov dword [esp + 0x24], ecx
jg 0x48393c
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + edi*4]
cmp edi, esi
mov dword [esp + 0xcc], edx
je 0x4839e4
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.004a9a00
mov eax, dword [esp + 0x48]
add esp, 0x14
cmp esi, eax
jge 0x4839c9
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.004cd2f0
cmp eax, 1
je 0x4839c5
mov eax, dword [esp + 0x34]
inc esi
add edi, 4
cmp esi, eax
jl 0x4839a4
cmp esi, dword [esp + 0x34]
je 0x4839dc
cmp esi, ebp
jg 0x4839dc
mov edx, dword [esp + 0x30]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x1c], eax
jmp 0x4839e4
mov dword [esp + 0x1c], 0xffffffff
test ebp, ebp
jle 0x483a0e
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.004cd2f0
cmp eax, 1
je 0x483a12
dec ebp
sub esi, 4
test ebp, ebp
jg 0x4839f3
jmp 0x483a12
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + ebp*4]
lea ecx, [edi + ebp]
push ecx
call fcn.004aaf50
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 0x483d51
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 0x483aa5
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0xb8]
push eax
push ebp
push edi
mov ecx, esi
call fcn.004e85a0
mov dword [esp + 0x24], edi
jmp 0x483acf
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.004e8500
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 0x483ae0
mov dword [esp + 0x10], 0
jmp 0x483ae7
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp eax, edx
jge 0x483b09
mov ecx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [ecx]
cmp eax, edi
jle 0x483b03
sub eax, ebp
mov dword [ecx], eax
add ecx, 9
dec edx
jne 0x483af9
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x483b14
xor edi, edi
jmp 0x483b17
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 0x483bea
mov edx, dword [edi]
mov ebp, dword [esp + 0x30]
cmp edx, ebp
jge 0x483b55
cmp edx, dword [esp + 0x24]
jl 0x483b4d
cmp dword [esp + 0x28], 0xffffffff
jne 0x483b4c
mov dword [esp + 0x28], ecx
inc esi
inc ecx
add edi, 4
cmp ecx, eax
jl 0x483b31
test esi, esi
jle 0x483bea
mov eax, dword [esp + 0x28]
lea edx, [esi*4]
push edx
lea ecx, [eax*4]
push ecx
lea ecx, [ebx + 0x54]
call fcn.00473de0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
cmp eax, ecx
jge 0x483bea
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x483be1
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 0x483be1
sub ecx, esi
test eax, eax
jl 0x483bc6
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x483bc6
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 0x483be1
mov ebp, dword [edi + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x483be1
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jl 0x483b8f
mov eax, dword [ebx + 0x8c]
lea edi, [ebx + 0x7c]
test eax, eax
jne 0x483bfb
xor ecx, ecx
jmp 0x483bfe
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x8c]
shr eax, 2
dec eax
js 0x483c43
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483c3d
cmp eax, dword [esp + 0x30]
jge 0x483c3d
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483c3a
xor ecx, ecx
jmp 0x483c3d
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483c14
mov eax, dword [ebx + 0xa0]
lea edi, [ebx + 0x90]
test eax, eax
jne 0x483c57
xor ecx, ecx
jmp 0x483c5a
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa0]
shr eax, 2
dec eax
js 0x483c9f
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483c99
cmp eax, dword [esp + 0x30]
jge 0x483c99
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483c96
xor ecx, ecx
jmp 0x483c99
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483c70
mov eax, dword [ebx + 0xb4]
lea edi, [ebx + 0xa4]
test eax, eax
jne 0x483cb3
xor ecx, ecx
jmp 0x483cb6
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb4]
shr eax, 2
dec eax
test eax, eax
jl 0x483cfd
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x483cf7
cmp eax, dword [esp + 0x30]
jge 0x483cf7
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x483cf4
xor ecx, ecx
jmp 0x483cf7
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x483cce
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov eax, esi
neg eax
push eax
push ecx
mov ecx, ebx
call fcn.004cb0e0
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x483d30
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 0x483a68
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x48510e
test eax, eax
jle 0x483d72
mov edx, dword [esp + 0x10]
cmp byte [eax + edx - 1], 0x6d
jne 0x483d72
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 0x483d8a
xor eax, eax
jmp 0x483d8d
mov eax, dword [ebx + 0x70]
push 0x4a86d0
push 9
push esi
push eax
call fcn.005040ee
lea eax, [esi - 1]
add esp, 0x10
test eax, eax
mov dword [esp + 0x34], eax
jl 0x4847cc
jmp 0x483db3
mov eax, dword [esp + 0x34]
lea edi, [eax + eax*8]
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x483dc5
xor eax, eax
jmp 0x483dc8
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.0x483e21
cmp ebp, dword [esp + 0x1c]
jl case.default.0x483e21
cmp cl, 3
je 0x483dfe
cmp cl, 2
jne 0x483e0e
cmp esi, dword [esp + 0x1c]
jge 0x483e0e
cmp ebp, dword [esp + 0x18]
jge case.default.0x483e21
mov eax, dword [esp + 0x60]
and eax, 0xff
dec eax
cmp eax, 3
ja case.default.0x483e21
jmp dword [eax*4 + 0x485198]
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x483e33
xor eax, eax
jmp 0x483e36
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.004741d0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x44], eax
je 0x483ec1
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 0x483e6c
xor ecx, ecx
jmp 0x483e6f
mov ecx, dword [ebx + 0x5c]
cmp edi, eax
jge 0x483ea7
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.004cd2f0
cmp eax, 1
je 0x483ea7
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x4c], ecx
jl 0x483e7a
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.00473de0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push 9
push eax
add ecx, 0x68
call fcn.00473de0
mov ebx, dword [esp + 0x10]
lea ecx, [esi + ebx + 1]
call fcn.004ca570
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.004e8500
lea ebx, [esi + 0x13]
lea esi, [edi - 0x13]
test esi, esi
jle 0x483f55
mov edi, dword [esp + 0x40]
push 0
push esi
push ebx
mov ecx, edi
call fcn.004cb1c0
mov eax, esi
mov ecx, edi
neg eax
push eax
push ebx
call fcn.004cb0e0
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x483f45
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x483f53
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 0x483f6d
xor ebx, ebx
jmp 0x483f70
mov ebx, dword [edi + 8]
lea ecx, [ebx + ebp + 1]
call fcn.004ca570
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.004e8500
add esi, 0xffffffed
lea ebx, [ebp + 0x13]
test esi, esi
jle 0x483fe3
mov ecx, dword [esp + 0x40]
push 0
push esi
push ebx
call fcn.004cb1c0
mov ecx, dword [esp + 0x40]
mov edx, esi
neg edx
push edx
push ebx
call fcn.004cb0e0
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x483fd5
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x483fe3
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
dec ebp
cmp ebp, eax
jl 0x484003
cmp ebp, dword [esp + 0x18]
jge 0x484003
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
push 0x75
push ebp
call fcn.004e8620
jmp 0x484036
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebp
call fcn.004cb0e0
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebp
mov ecx, edi
call fcn.004e85a0
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jge 0x484036
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 0x484051
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov word [esp + 0x6b], ax
jmp case.default.0x483e21
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov word [esp + 0x6b], ax
jmp case.default.0x483e21
cmp esi, dword [esp + 0x1c]
jl 0x4840dc
push 9
push edi
lea ecx, [ebx + 0x68]
call fcn.00473de0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8620
cmp ebp, dword [esp + 0x18]
jl 0x4840c8
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004cb0e0
push edi
push 2
push ebp
mov ecx, esi
call fcn.004e85a0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4840bc
mov dword [esp + 0x10], 0
jmp case.default.0x483e21
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
jmp case.default.0x483e21
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.004e8690
jmp case.default.0x483e21
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push 2
lea esi, [ecx + edx]
mov ecx, ebx
push esi
call fcn.004cb0e0
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.004e8420
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48411c
mov dword [esp + 0x10], 0
jmp 0x484123
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 0x4847b1
mov edx, dword [esp + 0x10]
lea edi, [esi + edx + 1]
mov ecx, edi
call fcn.004ca570
add edi, eax
push 0
push edi
mov ecx, ebx
call fcn.004ccbf0
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 0x48423a
mov eax, dword [esp + 0x14]
push 9
push eax
lea ecx, [ebx + 0x68]
call fcn.00473de0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xb8]
mov ecx, esi
call fcn.004e8620
cmp ebp, dword [esp + 0x18]
jl 0x4841da
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004cb0e0
push edi
push 2
push ebp
mov ecx, esi
call fcn.004e85a0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4841d1
mov dword [esp + 0x10], 0
jmp 0x4841e9
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
jmp 0x4841e9
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.004e8690
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x48422a
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.004cb0e0
push edi
push 1
push ebp
mov ecx, esi
call fcn.004e85a0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x48421e
mov dword [esp + 0x10], 0
jmp case.default.0x483e21
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x483e21
push edi
push 0x75
push ebp
mov ecx, esi
call fcn.004e8620
jmp case.default.0x483e21
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
jge 0x484325
cmp eax, ecx
mov eax, dword [esp + 0x2c]
jl 0x4842bf
add esi, eax
push 3
push esi
mov ecx, ebx
call fcn.004cb0e0
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.004e8420
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484289
mov dword [esp + 0x10], 0
jmp 0x484290
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 0x4847b1
add esi, eax
push 2
push esi
mov ecx, ebx
call fcn.004cb0e0
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.004e8420
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4842f6
mov dword [esp + 0x10], 0
jmp 0x4842fd
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 0x4847b1
cmp eax, ecx
jl case.default.0x483e21
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge case.default.0x483e21
mov eax, ecx
mov ecx, dword [esp + 0x2c]
push 1
lea esi, [eax + ecx]
mov ecx, ebx
push esi
call fcn.004cb0e0
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.004e8420
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484377
mov dword [esp + 0x10], 0
jmp 0x48437e
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.004736e0
jmp case.default.0x483e21
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jl 0x484590
cmp ebp, dword [esp + 0x18]
jge 0x4843bc
push 9
push edi
lea ecx, [ebx + 0x68]
call fcn.00473de0
jmp case.default.0x483e21
mov edx, dword [esp + 0x20]
lea edi, [ebx + 0xb8]
push edx
push 0x75
push esi
mov ecx, edi
call fcn.004e8620
mov eax, dword [esp + 0x10]
inc esi
cmp byte [esi + eax], 0x6e
jne 0x4844be
mov eax, dword [esp + 0x18]
mov ebp, esi
cmp esi, eax
jge 0x48447c
mov ecx, dword [esp + 0x20]
push ecx
push 0x6a
push esi
mov ecx, edi
call fcn.004e8620
mov edx, dword [esp + 0x10]
inc esi
lea ecx, [esi + edx]
call fcn.004ca570
add esi, eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esi + eax]
push ecx
mov ecx, ebx
call fcn.004ccbf0
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x48445c
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb0e0
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
push 1
push esi
call fcn.004e85a0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484453
mov dword [esp + 0x10], 0
jmp 0x48446c
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
jmp 0x48446c
mov ecx, dword [esp + 0x20]
push ecx
push 0x75
push esi
mov ecx, edi
call fcn.004e8620
inc esi
mov edx, dword [esp + 0x10]
cmp byte [esi + edx], 0x6e
je 0x4843e0
jmp 0x4844be
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.004e8420
push 1
push esi
mov ecx, ebx
call fcn.004cb0e0
mov edx, dword [esp + 0x28]
mov dword [edx - 4], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4844b7
mov dword [esp + 0x10], 0
jmp 0x4844be
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x18]
jge case.default.0x483e21
mov ecx, dword [esp + 0x14]
push 9
push ecx
lea ecx, [ebx + 0x68]
call fcn.00473de0
mov edx, dword [esp + 0x10]
push 0
mov ecx, ebx
lea eax, [esi + edx + 1]
push eax
call fcn.004ccbf0
lea edi, [esi + eax]
mov eax, dword [esp + 0x18]
cmp edi, eax
jl 0x48452d
push 0xfffffffffffffffe
push edi
mov ecx, ebx
call fcn.004cb0e0
mov ebp, dword [esp + 0x20]
push ebp
push 2
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.004e85a0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484524
mov dword [esp + 0x10], 0
jmp 0x484545
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], ecx
jmp 0x484545
mov ebp, dword [esp + 0x20]
push ebp
push 0x7575
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.004e8690
cmp esi, dword [esp + 0x18]
jl 0x484580
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb0e0
push ebp
push 1
push esi
mov ecx, edi
call fcn.004e85a0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484574
mov dword [esp + 0x10], 0
jmp case.default.0x483e21
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x483e21
push ebp
push 0x75
push esi
mov ecx, edi
call fcn.004e8620
jmp case.default.0x483e21
mov ebp, dword [esp + 0x10]
inc esi
mov dword [esp + 0x24], 0
cmp byte [esi + ebp], 0x6e
jne 0x484694
jmp 0x4845ad
mov ecx, dword [esp + 0x1c]
cmp esi, dword [esp + 0x18]
jge 0x484690
cmp esi, ecx
jl 0x4845e0
lea eax, [esi - 1]
mov edi, 1
cmp eax, ecx
jge 0x4845d7
cmp byte [esi + ebp - 1], 0x53
jne 0x4845d7
dec ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xb8], esi
jmp 0x4845e2
xor edi, edi
inc esi
lea ecx, [esi + ebp]
call fcn.004ca570
add esi, eax
push 0
lea ecx, [esi + ebp]
push ecx
mov ecx, ebx
call fcn.004ccbf0
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x484613
cmp esi, dword [esp + 0x18]
jge 0x484613
mov eax, 1
jmp 0x484615
xor eax, eax
cmp eax, edi
je 0x484679
mov eax, 1
cmp edi, eax
jne 0x484675
cmp dword [esp + 0x24], eax
jne 0x484632
mov dword [esp + 0x24], 0
jmp 0x484679
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.004e8620
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004cb0e0
push edi
push 1
push esi
mov ecx, ebp
call fcn.004e85a0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x48466f
xor ebp, ebp
dec esi
jmp 0x484679
mov ebp, dword [ebp + 8]
dec esi
jmp 0x484679
mov dword [esp + 0x24], eax
mov al, byte [esi + ebp + 1]
inc esi
cmp al, 0x6e
je 0x4845a9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
jmp 0x484694
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x24]
xor eax, eax
cmp edx, 1
mov dword [esp + 0x98], eax
jne 0x4846bf
push 0x53
lea ecx, [esp + 0x8c]
call fcn.004736e0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x1c]
mov dl, byte [esi + ebp]
mov dword [esp + 0x30], 0xffffffff
cmp dl, 0x6e
je 0x48472f
cmp esi, ecx
jl 0x4846e7
cmp esi, dword [esp + 0x18]
jge 0x4846e7
push 0x6f
lea ecx, [esp + 0x8c]
call fcn.004736e0
inc esi
push 0
mov ecx, ebx
lea eax, [esi + ebp]
push eax
call fcn.004ccbf0
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x484728
cmp esi, dword [esp + 0x18]
jge 0x484728
push 0x7454
lea ecx, [esp + 0x8c]
call fcn.004736a0
mov eax, dword [esp + 0x98]
lea ecx, [eax - 1]
mov dword [esp + 0x30], ecx
jmp 0x48472f
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, eax
jle case.default.0x483e21
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push eax
mov ecx, ebx
lea esi, [edx + ebp]
push esi
call fcn.004cb0e0
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.004e8420
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484777
mov dword [esp + 0x10], 0
jmp 0x48477e
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x484795
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.00473c60
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jns 0x483daf
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x4847d7
xor esi, esi
jmp 0x4847da
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 0x4848c3
mov edx, dword [esi]
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jge 0x48481c
cmp edx, dword [esp + 0x1c]
jl 0x484814
cmp dword [esp + 0x28], 0xffffffff
jne 0x484813
mov dword [esp + 0x28], ecx
inc edi
inc ecx
add esi, 4
cmp ecx, eax
jl 0x4847f8
test edi, edi
mov dword [esp + 0x24], edi
jle 0x4848c3
mov ecx, dword [esp + 0x28]
lea eax, [edi*4]
push eax
lea edx, [ecx*4]
lea ecx, [ebx + 0x54]
push edx
call fcn.00473de0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jge 0x4848c3
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x4848ba
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 0x4848ba
test eax, eax
jl 0x4848ba
mov ebp, dword [esp + 0xe8]
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x4848a0
sub ecx, dword [esp + 0x24]
mov dword [edx], ecx
test eax, eax
jl 0x4848ba
mov ecx, dword [edi + 0x10]
shr ecx, 2
cmp eax, ecx
jge 0x4848ba
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 0x484858
mov eax, dword [ebx + 0x8c]
lea edi, [ebx + 0x7c]
test eax, eax
jne 0x4848d4
xor ecx, ecx
jmp 0x4848d7
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x8c]
shr eax, 2
dec eax
js 0x48491c
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x484916
cmp eax, dword [esp + 0x18]
jge 0x484916
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484913
xor ecx, ecx
jmp 0x484916
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4848ed
mov eax, dword [ebx + 0xa0]
lea edi, [ebx + 0x90]
test eax, eax
jne 0x484930
xor ecx, ecx
jmp 0x484933
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa0]
shr eax, 2
dec eax
js 0x484978
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x484972
cmp eax, dword [esp + 0x18]
jge 0x484972
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48496f
xor ecx, ecx
jmp 0x484972
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x484949
mov eax, dword [ebx + 0xb4]
lea edi, [ebx + 0xa4]
test eax, eax
jne 0x48498c
xor ecx, ecx
jmp 0x48498f
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb4]
shr eax, 2
dec eax
js 0x4849d4
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4849ce
cmp eax, dword [esp + 0x18]
jge 0x4849ce
push 4
push esi
mov ecx, edi
call fcn.00473de0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4849cb
xor ecx, ecx
jmp 0x4849ce
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4849a5
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.004cb0e0
mov edi, dword [esp + 0x20]
push edi
push esi
lea esi, [ebx + 0xb8]
push ebp
mov ecx, esi
call fcn.004e85a0
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x484a1d
mov ecx, dword [esp + 0xa4]
push edi
push eax
push ecx
push eax
push ebp
mov ecx, esi
call fcn.004e8500
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484a28
xor edi, edi
jmp 0x484a2b
mov edi, dword [esi + 8]
mov ebp, dword [ebx + 0xc8]
test ebp, ebp
jle 0x484a49
mov al, byte [edi + ebp - 1]
cmp al, 0x73
mov byte [esp + 0x3f], al
je 0x484a49
cmp al, 0x72
je 0x484a49
cmp al, 0x74
jne 0x484a73
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push edx
push 0x13
push eax
mov ecx, esi
call fcn.004e8490
push ebp
lea ecx, [ebx + 0x54]
call fcn.00473660
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x484a70
xor edi, edi
jmp 0x484a73
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 0x484a89
xor eax, eax
jmp 0x484a92
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x28], ecx
mov eax, ecx
test edx, edx
jle 0x48510e
mov dword [esp + 0x48], edx
jmp 0x484aa4
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 0x4850ff
mov eax, dword [esp + 0x1c]
cmp esi, eax
jg 0x4850ff
dec eax
cmp edx, eax
jl 0x4850ff
mov eax, dword [esp + 0x60]
add esi, edi
and eax, 0xff
dec eax
je 0x484e75
dec eax
je 0x484d8f
sub eax, 2
jne 0x4850ff
mov al, byte [esi + 1]
inc esi
cmp al, 0x6e
jne 0x484bf4
inc esi
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp byte [esi], 0x53
jne 0x484bdf
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484b2d
xor eax, eax
jmp 0x484b30
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408bb0
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.004e8420
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484bb3
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x484bbf
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484bd2
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x484beb
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x484beb
push 0
push esi
mov ecx, ebx
call fcn.004ccbf0
add esi, eax
cmp byte [esi], 0x6e
je 0x484b06
mov al, byte [esi + 1]
inc esi
cmp al, 0x54
jne 0x484cc6
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484c14
xor eax, eax
jmp 0x484c17
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408bb0
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.004e8420
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484c9a
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x484ca6
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484cb9
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x484cd2
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x484cd2
push 0
push esi
mov ecx, ebx
call fcn.004ccbf0
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004c9920
add esp, 4
cmp eax, 5
jne 0x4850ff
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484cfc
xor eax, eax
jmp 0x484cff
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408bb0
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.004e8420
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484d85
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x484e63
mov eax, dword [esp + 0x14]
push eax
jmp 0x484e5c
inc esi
mov ecx, esi
call fcn.004ca570
add esi, eax
push 0
push esi
mov ecx, ebx
call fcn.004ccbf0
mov cl, byte [esi + eax + 1]
lea esi, [esi + eax + 1]
push ecx
call fcn.004c9920
add esp, 4
cmp eax, 5
jne 0x4850ff
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484dd1
xor eax, eax
jmp 0x484dd4
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408bb0
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.004e8420
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484e57
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x484e63
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4850fc
xor edi, edi
jmp 0x4850ff
inc esi
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp byte [esi], 0x50
jne 0x484f4e
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484e9c
xor eax, eax
jmp 0x484e9f
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x64]
push esi
shr edx, 2
push edx
push eax
call fcn.00408bb0
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.004e8420
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484f22
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x484f2e
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x484f41
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x484f5a
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x484f5a
push 0
push esi
mov ecx, ebx
call fcn.004ccbf0
add esi, eax
cmp byte [esi], 0x51
jne 0x485029
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x484f77
xor eax, eax
jmp 0x484f7a
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408bb0
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.004e8420
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x484ffd
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x485009
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x48501c
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x485035
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x485035
push 0
push esi
mov ecx, ebx
call fcn.004ccbf0
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004c9920
add esp, 4
cmp eax, 5
jne 0x4850ff
sub esi, edi
lea edi, [ebx + 0x54]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48505f
xor eax, eax
jmp 0x485062
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x64]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00408bb0
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.004e8420
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004cb0e0
cmp esi, 0xffffffff
je 0x4850e5
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.00473bc0
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.004a9980
add esp, 0x18
jmp 0x4850f1
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00473660
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4850fc
xor edi, edi
jmp 0x4850ff
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x484aa0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x48389e
pop ebp
pop ebx
mov esi, 0x54d7d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
mov dword [esp + 0xb4], esi
call fcn.004735a0
lea ecx, [esp + 0x80]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x80], esi
call fcn.004735a0
lea ecx, [esp + 0x94]
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x94], esi
call fcn.004735a0
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xcc
ret