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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, ecx
mov dword [esp + 8], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x34], ecx
xor ecx, ecx
push esi
mov esi, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
mov dword [esp + 4], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x36], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], esi
push edi
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x485f7a
cmp dword [eax + 0x74], esi
jne 0x485f69
test byte [ecx + 0x4c], 8
jne 0x485f69
mov byte [eax + 0x17], 1
mov ecx, eax
call fcn.0044cdd0
mov edx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x44], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x34], eax
jne 0x485f9a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], 1
jmp 0x485fc5
mov ecx, dword [edx + 8]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x485fbd
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x485fb5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x485fa5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x4c], ecx
test eax, eax
jle 0x4862d6
mov eax, dword [ebp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
lea ecx, [eax + 1]
mov dword [esp + 0x30], 1
not eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
add ecx, eax
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x48629f
cmp dword [esp + 0x1c], 0
je 0x486015
cmp dword [edx], 0
jl 0x48629f
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov al, byte [edi + edx + 0xc]
movzx ecx, al
test al, al
je 0x48629f
mov ah, byte [ebp + 0x20]
cmp ah, 0xb
jne 0x486042
cmp al, ah
jne 0x486042
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x48614a
cmp ah, 0xb
movzx edi, ah
cmove edi, ecx
cmp edi, 5
jne 0x486066
mov eax, dword [esp + 0x18]
cmp dword [eax + edx + 4], 0
jne 0x486066
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x48614a
lea ecx, [edi - 1]
cmp ecx, 4
ja case.0x486078.4
xor eax, eax
mov dword [esp + 0x20], eax
jmp dword [ecx*4 + 0x487628]
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov ecx, dword [esi + 0x6c]
mov edi, dword [eax + 0x38]
mov dword [esp + 0x20], edi
cmp dword [esi + 0x70], ecx
jg 0x4860ad
push 0
push edi
push dword [esp + 0x14]
mov edx, 0x33
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x4860dc
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + eax + 4]
call fcn.0046a760
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x48611b
push 0
push edi
push dword [esp + 0x14]
mov edx, 0x33
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x48614a
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, 2
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x15], 1
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push dword [eax + edx]
mov eax, dword [esp + 0x14]
push dword [eax]
push str._s._s
push dword [esp + 0x54]
call fcn.0042f000
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov dword [esp + 0x28], eax
cmp dword [esi + 0x70], ecx
jg 0x4861ab
push dword [esp + 0xc]
mov edx, 0x44
mov ecx, esi
push edi
push 0x513
call fcn.0044d060
add esp, 0xc
jmp 0x4861da
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
cmp byte [ecx + 0x51], 0
je 0x4861f6
push edx
mov edx, 0xfffffff9
call fcn.0044d880
add esp, 4
jmp 0x486208
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x48621e
mov edx, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x48629f
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486240
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48629f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x48629f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48626d
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x14]
call fcn.0044d060
add esp, 0xc
jmp 0x48629f
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
inc ecx
add dword [esp + 0x24], 4
add eax, ecx
add dword [esp + 0x18], 0x10
cmp eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
jl 0x485ff3
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x48649c
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x48649c
mov edx, dword [esp + 8]
mov eax, dword [ebp + 0x14]
not eax
mov dword [edx + 0x34], eax
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x486316
movzx eax, al
mov dword [esp + 0x24], eax
jmp 0x48631e
mov dword [esp + 0x24], 2
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ecx], edx
jle 0x48648f
lea eax, [ecx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [eax - 4]
mov dword [esp + 0x30], ecx
test edi, edi
je 0x4863a0
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x84], 0x485ea0
mov dword [esp + 0x98], edi
test ecx, ecx
je 0x486389
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.00460670
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x94]
jne 0x486398
and al, 0xfd
test al, al
je 0x486473
mov eax, dword [esp + 8]
push 0x10
dec dword [eax + 0x38]
mov edi, dword [eax + 0x38]
push edi
push ecx
push eax
call fcn.0046abd0
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, 4
jne 0x486412
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4863de
push 0
push dword [ebp + 0x24]
lea edx, [eax + 7]
mov ecx, esi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x486448
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x486448
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x486422
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
push 3
cmp eax, 5
mov edx, 2
push 0
cmove eax, edx
mov edx, 0x113
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x34], eax
call fcn.0047a160
add esp, 0x10
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486462
push edi
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48646b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
inc edx
mov eax, dword [esp + 0x20]
add eax, 0x18
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
cmp edx, dword [ecx]
jl 0x486333
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
jmp 0x4864a0
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x486520
cmp dword [eax], 0
jne 0x4864bb
mov byte [ebp + 0x20], 4
mov dword [esp + 0x3c], 0
jmp 0x486520
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
test eax, eax
je 0x486520
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x58], edx
cmp dword [esi + 0x70], edx
jg 0x4864ed
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x486520
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x1c], 0
je 0x48696d
cmp dword [esp + 0x2c], 0
jne 0x48696d
mov ecx, dword [esp + 0x10]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x18], edx
je 0x486553
movzx eax, byte [ebp + 0x20]
jmp 0x48655e
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x486585
cmp dword [edi + 0x10], 0
jne 0x486585
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
jmp 0x4865f2
cmp eax, 5
jne 0x4865f2
cmp byte [ebp + 0x20], al
je 0x4865f2
cmp dword [ecx + 8], 0
je 0x4865f2
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4865b4
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x4865e7
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x48665f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48661b
push edi
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x486648
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x48665f
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x486680
push dword [ebp + 0x14]
mov ecx, esi
push edx
push edi
mov edx, 0x1f
call fcn.0044d060
add esp, 0xc
jmp 0x4866aa
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x24]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x4866ba
jmp dword [eax*4 + 0x48763c]
mov eax, dword [esp + 0x48]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x48671c
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4866f2
mov edx, dword [esp + 0x10]
call fcn.0049cba0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x48670b
cmp byte [ecx + 8], 0x79
jne 0x486704
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4866f8
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x28], eax
mov edi, eax
test eax, eax
jne 0x486770
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push 0
call fcn.00482b80
add esp, 8
test eax, eax
jne 0x486770
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], eax
je 0x4867a4
mov edi, dword [esp + 8]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [edi + 0x74]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.0047d1c0
add esp, 0x10
mov dword [esp + 0x64], 1
jmp 0x4868b3
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x28]
push edi
call fcn.0047cc50
add esp, 0x24
mov dword [esp + 0x64], 1
jmp 0x4868b3
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 8]
push 0
mov edx, dword [eax + 0x14]
mov ecx, dword [edi]
call fcn.00464a20
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, eax
push ecx
push 0
push 0
push 2
push dword [ecx + 0xc]
push dword [ecx + 8]
mov ecx, edi
call fcn.0049e970
mov eax, dword [esp + 0x54]
add esp, 0x18
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48681a
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x4868b3
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4868b3
mov edi, 2
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x486887
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0xc]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.0042f000
add esp, 0x10
mov edx, 0x613
jmp 0x4868a1
push dword [edx]
mov eax, dword [esp + 0xc]
push str._s.rowid
push dword [eax]
call fcn.0042f000
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 8]
push 2
push 0xfffffffffffffff9
push eax
push edi
call fcn.0047a160
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4868d1
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x4868da
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x5c], 0
je 0x48696d
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x6c], ecx
cmp dword [esi + 0x70], ecx
jg 0x48690c
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x48693f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x486956
mov eax, 0x550124
jmp 0x48696b
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x48758a
xor ecx, ecx
nop word [eax + eax]
mov edi, dword [esp + 0x60]
cmp dword [edi + ecx*4], 0
mov edi, dword [esp + 8]
je 0x487576
cmp dword [esp + 0x54], eax
jne 0x486a4f
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x70], ecx
jg 0x4869dc
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x486a0f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x486a2c
mov eax, 0x55011c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x486a59
mov ecx, dword [esp + 0x58]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x14]
jmp 0x486a59
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x3a], 0
jne 0x486a80
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x486a6c
cmp ecx, eax
jne 0x486a80
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.004839a0
add esp, 4
mov byte [esp + 0x3a], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
je 0x486b58
mov eax, dword [esp + 0x60]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x486ab7
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x486aea
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x28], eax
test edx, edx
je 0x486b19
push 0
push 0
mov ecx, eax
call fcn.00464500
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x28]
jmp 0x486b1b
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x486b38
push 0x10
push dword [esp + 0x24]
push edi
push dword [esp + 0x14]
call fcn.0046b160
mov eax, dword [esp + 0x38]
add esp, 0x10
test edi, edi
je 0x486b45
mov edx, edi
mov ecx, eax
call fcn.00464300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
xor edi, edi
movzx eax, word [eax + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov edx, dword [edx + ecx*4]
lea ecx, [edx + 1]
mov dword [esp + 0x18], ecx
mov ecx, eax
cmp di, ax
jae 0x486cb8
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x486b94
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movsx edx, word [eax + edi*2]
cmp edx, 0xfffffffe
jne 0x486c14
mov edi, dword [esp + 8]
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + ecx + 4]
mov eax, dword [edi]
mov dword [esp + 0x28], eax
test edx, edx
je 0x486bdb
push 0
push 0
mov ecx, eax
call fcn.00464500
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x28]
jmp 0x486bdd
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x486bfa
mov ecx, dword [esp + 0x1c]
mov edx, edi
push ecx
mov ecx, dword [esp + 0xc]
call fcn.0046a760
mov eax, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x486c07
mov edx, edi
mov ecx, eax
call fcn.00464300
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 0
jmp 0x486c8b
cmp edx, 0xffffffff
je 0x486c2d
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x486c2d
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x486c30
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [esi + 0x70], ecx
jg 0x486c55
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x486c8b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
add dword [esp + 0x24], 0x18
inc edi
inc dword [esp + 0x1c]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x34], edi
cmp edi, ecx
jl 0x486b90
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x486cda
push edx
push edi
push dword [esp + 0x20]
mov edx, 0x5c
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x486d09
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
je 0x486d50
cmp edx, ecx
jne 0x486d50
cmp byte [ebp + 0x1c], 0
jne 0x486d50
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486d42
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48756a
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x48756a
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x486d79
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486d42
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48756a
cmp byte [ebp + 0x20], 0xb
je 0x486d85
movzx eax, byte [ebp + 0x20]
jmp 0x486d90
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x54], ecx
jne 0x486db1
mov edi, dword [esp + 0x3c]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc], 0
jne 0x486e87
cmp dword [ecx + 0x14], 0
jne 0x486e87
cmp edx, ecx
jne 0x486e87
cmp eax, 5
jne 0x486e87
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x78], eax
je 0x486e2e
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x486e0a
mov edx, dword [esp + 0x10]
call fcn.0049cba0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x486e2e
cmp byte [ecx + 8], 0x79
jne 0x486e1c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x486e10
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x486e87
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x78], eax
je 0x486e62
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x486e87
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.00431190
add esp, 4
cmp dword [eax + 8], 0
jne 0x486e87
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486d42
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48756a
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x30], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x50], edi
cmp dword [esi + 0x70], edx
jg 0x486ec2
push dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, 0x1b
push dword [esp + 0x24]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x486f04
mov edi, dword [esp + 0x50]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0xc]
add esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x486f1b
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp edx, eax
jne 0x486f31
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
jmp 0x486f93
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 8]
cmp eax, 1
jne 0x486f5e
mov al, byte [edx + 0x13]
test al, al
jne 0x486f4d
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x486f87
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x94]
jmp 0x486f87
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x1c], edi
cmp eax, ecx
jg 0x486f7a
add eax, edi
sub ecx, dword [esp + 0x4c]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x486f8b
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x4c]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x486fa4
cmp dword [esp + 0x24], 5
jne 0x4872f9
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x487088
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x486fd6
mov eax, dword [esp + 0xc]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x487010
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4872f9
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48703a
push eax
push dword [esp + 0x24]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.0044d060
add esp, 0xc
jmp 0x487068
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4872f9
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4872f9
cmp edx, eax
je 0x487175
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x28], edi
cmp cx, word [eax + 0x32]
jae 0x487175
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
nop word [eax + eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x4870dd
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x48710e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4870d0
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x30], edx
cmp dword [esi + 0x70], ecx
jg 0x487113
mov edi, dword [esp + 0x34]
mov ecx, esi
mov eax, dword [esp + 0xc]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5a
call fcn.0044d060
add esp, 0xc
jmp 0x48714d
movzx eax, cx
jmp 0x4870e0
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
inc edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x34], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x4870b0
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x18], 0
je 0x4872f9
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x28], 0x34
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x1c]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x4872f9
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 8]
mov dword [esp + 0x78], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3b], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x43], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x43]
call fcn.0047b010
add esp, 8
mov ecx, eax
cmp byte [esp + 0x43], 0
mov dword [esp + 0x50], ecx
jne 0x48721c
test ecx, ecx
je 0x487203
cmp dword [ecx + 0xc], 0
jne 0x48721c
push dword [esp + 0x78]
mov dl, byte [esp + 0x3f]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0047ad90
add esp, 8
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
movsx ecx, word [eax + edi*2]
movzx eax, word [edx + 0x32]
dec eax
mov dword [esp + 0x78], ecx
cmp edi, eax
jne 0x487244
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0x35
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x6c]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x70]
add ecx, edi
cmp dword [esi + 0x70], edx
jg 0x487270
mov edx, dword [esp + 0x28]
push ecx
push dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x4872bd
mov edi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x78]
inc esi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp + 0x18]
add ecx, esi
mov esi, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
add ecx, edi
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push dword [esp + 0x54]
mov ecx, esi
call fcn.0044dad0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4872e4
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x2c]
inc edi
mov dword [esp + 0x30], edi
movzx eax, word [eax + 0x32]
cmp edi, eax
jl 0x4871b6
mov edi, dword [esp + 0x24]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x487309.5
jmp dword [eax*4 + 0x487654]
push dword [esp + 0x14]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.0047a230
add esp, 4
jmp 0x487472
mov eax, dword [esp + 0xc]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov ecx, edi
mov edx, dword [esp + 0x3c]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.004a1290
add esp, 0xc
jmp 0x487351
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x487374
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x487472
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x487472
mov eax, dword [esp + 0x48]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x487406
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4873dc
mov edx, dword [esp + 0x10]
call fcn.0049cba0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4873f5
cmp byte [ecx + 8], 0x79
jne 0x4873ee
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4873e2
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x30], eax
mov edi, eax
test eax, eax
jne 0x48741e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push 0
call fcn.00482b80
add esp, 8
test eax, eax
je 0x48742e
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
add eax, edx
push eax
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x5c]
push dword [esp + 0x30]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0047cc50
add esp, 0x24
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x14]
jne 0x487507
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4874a3
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x4874d6
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x68]
mov ecx, eax
mov edx, dword [esi + 0x6c]
test eax, eax
jns 0x4874e6
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4874f8
mov eax, 0x55011c
mov dword [eax + 8], edx
jmp 0x48752e
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x48752e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x487525
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x48752e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x18]
je 0x48756a
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x48755f
test ecx, ecx
je 0x48756a
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0x10]
cmp al, 8
jae 0x48756e
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x48756e
cmp eax, dword [edi + 0x1c]
jle 0x48756a
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x486990
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x487608
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4875b0
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x4875df
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4875ed
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4875fc
mov eax, 0x55011c
jmp 0x487605
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret