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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor eax, eax
mov dword [esp + 0x10], esi
push edi
mov dword [esp + 0x70], eax
mov edi, dword [esi + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], eax
mov eax, dword [esi]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x43], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], edi
test edi, edi
jne 0x484cbe
cmp dword [esi + 0x74], edi
jne 0x484caf
test byte [eax + 0x4c], 8
jne 0x484caf
mov byte [esi + 0x17], 1
call fcn.00451860
mov edx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x44], edi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x48], eax
jne 0x484cde
mov dword [esp + 0x30], 0
mov dword [esp + 0x58], 1
jmp 0x484d10
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x484d08
nop dword [eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x484d00
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x484cf0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x58], ecx
xor edx, edx
mov dword [esp + 0x28], edx
test eax, eax
jle 0x484f15
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
movsx eax, word [esi + 0x28]
cmp edx, eax
je 0x484ef9
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x484d4d
cmp dword [eax + edx*4], 0
jl 0x484ef9
mov eax, dword [esi + 4]
movzx esi, byte [ecx + eax + 0xc]
test esi, esi
je 0x484ef5
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x484d99
movzx esi, dl
cmp esi, 5
jne 0x484d7a
cmp dword [ecx + eax + 4], 0
mov eax, 2
cmove esi, eax
mov edx, dword [esp + 0x28]
lea eax, [esi - 1]
mov dword [esp + 0x24], 0
cmp eax, 4
ja case.0x484d92.4
jmp dword [eax*4 + 0x4863a0]
cmp esi, 0xb
jne 0x484d68
mov esi, 2
jmp 0x484d7a
mov eax, dword [esp + 0x14]
inc edx
mov esi, dword [ebp + 0x14]
mov ecx, edi
add esi, edx
mov edx, 0x33
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
push eax
push esi
mov dword [esp + 0x2c], eax
call fcn.00451c90
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + edx + 4]
call fcn.0046d3e0
add esp, 0xc
mov edx, 0x33
mov ecx, edi
push dword [esp + 0x24]
push esi
call fcn.00451c90
add esp, 8
mov esi, 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push dword [ecx + eax]
push dword [edx]
push str._s._s
push dword [esp + 0x60]
call fcn.00433640
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, dword [edi + 0x6c]
inc edx
add edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x70], ecx
jg 0x484e59
push edx
push esi
push 0x513
mov edx, 0x44
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x484e88
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov edx, dword [esp + 0x3c]
cmp byte [ecx + 0x51], 0
je 0x484ea4
push edx
mov edx, 0xfffffff9
call fcn.00452860
add esp, 4
jmp 0x484eb6
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x484ecd
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x24]
test edx, edx
je 0x484ef1
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x485038
push edx
mov edx, edi
call fcn.00452300
add esp, 4
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
add dword [esp + 0x1c], 0x10
inc edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x48]
jl 0x484d30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x48515d
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x48515d
mov eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx esi, al
cmp al, 0xb
jne 0x484f54
mov esi, 2
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [ecx], edx
jle 0x485152
lea eax, [ecx + 8]
mov dword [esp + 0x24], eax
nop dword [eax]
cmp dword [ebp + 0x2c], 0
mov ecx, dword [eax - 4]
mov dword [esp + 0x38], ecx
je 0x484fef
mov edi, dword [ebp + 0x2c]
xorps xmm0, xmm0
xor al, al
mov dword [esp + 0x98], 0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x44]
mov byte [esp + 0x94], al
mov dword [esp + 0x84], 0x484c10
test ecx, ecx
je 0x484fdf
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.00464310
mov al, byte [esp + 0x94]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp byte [ebp + 0x1c], 0
jne 0x484fe7
and al, 0xfd
test al, al
je 0x485136
mov edx, dword [esp + 0x14]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x48], eax
call fcn.0046d880
add esp, 0x10
cmp esi, 4
jne 0x4850d9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4850a5
push 0
push dword [ebp + 0x24]
lea edx, [esi + 7]
mov ecx, edi
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x48510b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x484ef1
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
inc esi
add esi, edx
cmp dword [edi + 0x70], ecx
jg 0x48506e
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, edi
push esi
call fcn.00451b20
add esp, 0xc
jmp 0x484ef1
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x484ef5
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x48510b
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x4850e9
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 3
cmp esi, 5
mov ecx, 2
push 0
cmove esi, ecx
mov edx, 0x113
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.0047a930
add esp, 0x10
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x485129
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x485132
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
inc edx
mov eax, dword [esp + 0x24]
add eax, 0x18
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp edx, dword [ecx]
jl 0x484f70
mov esi, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4851db
cmp dword [eax], 0
jne 0x485176
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x4851db
mov eax, dword [eax + 0x10]
mov dword [esp + 0x60], eax
test eax, eax
je 0x4851db
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x64], edx
cmp dword [edi + 0x70], edx
jg 0x4851a8
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4851db
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 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 0x4855a7
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4855a7
mov ecx, dword [esp + 0x10]
dec dword [esi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x1c], edx
je 0x48520f
movzx eax, byte [ebp + 0x20]
jmp 0x48521a
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x24], eax
test esi, esi
je 0x485240
cmp dword [esi + 0x10], 0
jne 0x485240
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
jmp 0x4852ad
cmp eax, 5
jne 0x4852ad
cmp byte [ebp + 0x20], al
je 0x4852ad
cmp dword [ecx + 8], 0
je 0x4852ad
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x48526f
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, edi
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x4852a2
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 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 + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48531d
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4852d5
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, edi
call fcn.00451b20
mov esi, dword [ebp + 0x14]
add esp, 0xc
jmp 0x485302
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
mov edx, dword [esp + 0x1c]
test eax, eax
jle 0x485320
lea ecx, [eax + eax*4]
mov esi, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], si
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x485340
push dword [ebp + 0x14]
mov ecx, edi
push edx
push dword [ebp + 0xc]
mov edx, 0x1f
call fcn.00451b20
add esp, 0xc
jmp 0x48536e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp + 0xc]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x24]
lea eax, [esi - 1]
cmp eax, 5
ja case.default.0x48537e
jmp dword [eax*4 + 0x4863b4]
mov eax, dword [esp + 0x54]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4853b1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push esi
push 0x75
call fcn.00499100
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4853ea
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
mov eax, dword [esp + 0x10]
je 0x48542b
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.00435ca0
add esp, 4
cmp dword [eax + 8], 0
jne 0x4853ea
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
je 0x48542b
mov ecx, dword [esp + 0x14]
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 + 0x34]
push esi
call fcn.0047cc00
add esp, 0x24
mov dword [esp + 0x6c], 1
jmp 0x4854f1
cmp dword [eax + 8], 0
je 0x48545b
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x74]
test eax, eax
push dword [ebp + 0x10]
cmovne ecx, eax
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, esi
call fcn.0047d060
add esp, 0x10
mov dword [esp + 0x6c], 1
jmp 0x4854f1
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x18]
call fcn.0049c7c0
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.00451d00
jmp 0x4854f1
mov esi, 2
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4854c5
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x18]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.00433640
add esp, 0x10
mov edx, 0x613
jmp 0x4854df
push dword [edx]
mov eax, dword [esp + 0x18]
push str._s.rowid
push dword [eax]
call fcn.00433640
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 0x14]
push 2
push 0xfffffffffffffff9
push eax
push esi
call fcn.0047a930
add esp, 0x10
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x48550f
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x485518
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x68], 0
je 0x4855a7
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x74], ecx
cmp dword [edi + 0x70], ecx
jg 0x48554a
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x74], eax
jmp 0x48557d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 ecx, dword [esp + 0x68]
sub ecx, 1
mov edx, dword [edi + 0x6c]
jns 0x48558c
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x48559b
mov eax, 0x6562ec
jmp 0x4855a4
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4862fb
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
cmp dword [esi + ecx*4], 0
mov esi, dword [esp + 0x14]
je 0x4862e2
cmp dword [esp + 0x60], eax
jne 0x485685
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0x6c]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], ecx
cmp dword [edi + 0x70], ecx
jg 0x485611
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x485644
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [esp + 0x64]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x485654
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x48566e
mov eax, 0x6562ec
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x48568f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x18]
jmp 0x48568f
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x28], ecx
cmp byte [esp + 0x43], 0
jne 0x4856b6
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4856a2
cmp ecx, eax
jne 0x4856b6
mov eax, dword [ebp + 0x14]
mov ecx, edi
inc eax
push eax
call fcn.00483260
add esp, 4
mov byte [esp + 0x43], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp dword [eax + 0x24], 0
je 0x48578d
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4856ec
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x48571f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, 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 [esi + 0x34], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x48574e
push 0
push 0
mov ecx, eax
call fcn.004680f0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x3c]
jmp 0x485750
xor esi, esi
cmp byte [eax + 0x51], 0
jne 0x48576d
push 0x10
push dword [esp + 0x2c]
push esi
push dword [esp + 0x20]
call fcn.0046dc20
mov eax, dword [esp + 0x4c]
add esp, 0x10
test esi, esi
je 0x48577a
mov edx, esi
mov ecx, eax
call fcn.00467ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 8]
xor esi, esi
mov edx, dword [edx + ecx*4]
xor ecx, ecx
inc edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], edx
cmp si, word [eax + 0x34]
jae 0x48597b
mov esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
cmp edx, 0xfffffffe
jne 0x4858e4
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x24]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x4857fb
push 0
push 0
call fcn.004680f0
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x4857fd
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x3c], eax
jne 0x485848
test eax, eax
je 0x485896
cmp byte [eax], 0xa4
jne 0x485896
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x485865
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.00451b20
add esp, 0xc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x485855
call fcn.00467ec0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 0
jmp 0x485954
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x485844
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
call fcn.0046c340
mov edx, eax
add esp, 4
cmp edx, esi
je 0x485844
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
test esi, esi
je 0x485840
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4858cf
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4f
jmp 0x485836
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x485878
cmp edx, 0xffffffff
je 0x4858fd
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4858fd
mov esi, dword [ebp + 0x14]
inc esi
add esi, edx
jmp 0x485900
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [edi + 0x70], ecx
jg 0x485928
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.00451b20
mov esi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x485954
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov byte [eax + ecx*4], dl
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], esi
mov word [eax + 2], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x48]
add dword [esp + 0x24], 0x18
inc ecx
mov dword [esp + 0x48], ecx
movzx eax, word [eax + 0x34]
cmp ecx, eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x18]
jl 0x4857b4
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
movzx esi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4859a8
push edx
push esi
push dword [esp + 0x24]
mov edx, 0x66
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x4859d7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
je 0x485a1e
cmp edx, ecx
jne 0x485a1e
cmp byte [ebp + 0x1c], 0
jne 0x485a1e
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x485a10
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x4862de
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4862de
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x485a47
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x485a10
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x4862de
cmp byte [ebp + 0x20], 0xb
je 0x485a53
movzx eax, byte [ebp + 0x20]
jmp 0x485a5e
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x60], ecx
jne 0x485a7e
mov esi, dword [ebp + 0x30]
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x34], 0
jne 0x485b66
cmp dword [ecx + 0x14], 0
jne 0x485b66
cmp edx, ecx
jne 0x485b66
cmp eax, 5
jne 0x485b66
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x78], eax
mov eax, 0
jne 0x485abf
test eax, eax
je 0x485b04
mov ecx, dword [esp + 0x14]
xor edx, edx
xor esi, esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x485ae0
mov edx, dword [esp + 0x10]
call fcn.00498170
mov edx, eax
mov ecx, edx
test edx, edx
je 0x485af9
cmp byte [ecx + 8], 0x75
jne 0x485af2
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x485ae6
xor eax, eax
test esi, esi
cmovne eax, edx
test eax, eax
jne 0x485b66
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x78], eax
mov eax, 0
jne 0x485b1f
test eax, eax
je 0x485b41
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x485b66
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.00435ca0
add esp, 4
cmp dword [eax + 8], 0
jne 0x485b66
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x485a10
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x4862de
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x38], edx
movzx esi, word [eax + 0x32]
mov dword [esp + 0x5c], esi
cmp dword [edi + 0x70], edx
jg 0x485ba1
push dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, 0x1b
push dword [esp + 0x2c]
add eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x485be3
mov esi, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x34]
add edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x485bfa
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x30]
jne 0x485c0e
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
jmp 0x485c6c
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
cmp eax, 1
jne 0x485c3b
mov al, byte [edx + 0x13]
test al, al
jne 0x485c2a
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
jmp 0x485c64
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov esi, dword [edx + eax*4 + 0x90]
jmp 0x485c64
mov ecx, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
mov dword [esp + 0x20], esi
cmp eax, ecx
jg 0x485c57
add eax, esi
sub ecx, dword [esp + 0x58]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x485c68
mov eax, dword [edx + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x58]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x18], 0
jne 0x485c7d
cmp dword [esp + 0x24], 5
jne 0x48604d
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x20
jne 0x485d61
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x485caf
mov eax, dword [esp + 0x34]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.00451b20
add esp, 0xc
jmp 0x485ce9
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48604d
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x485d13
push eax
push dword [esp + 0x2c]
mov edx, 0x35
mov ecx, edi
push esi
call fcn.00451b20
add esp, 0xc
jmp 0x485d41
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x48604d
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x48604d
mov esi, dword [esp + 0x30]
cmp edx, esi
je 0x485e55
mov ecx, dword [esp + 0x30]
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], esi
cmp ax, word [ecx + 0x32]
jae 0x485e51
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
nop dword [eax + eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x485dbd
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
nop dword [eax]
cmp si, word [eax]
je 0x485dee
inc ecx
add eax, 2
cmp ecx, edx
jl 0x485db0
or eax, 0xffffffff
mov ecx, dword [edi + 0x6c]
movsx edx, ax
mov dword [esp + 0x38], edx
cmp dword [edi + 0x70], ecx
jg 0x485df3
mov esi, dword [esp + 0x4c]
mov ecx, edi
mov eax, dword [esp + 0x34]
add eax, dword [ebp + 0x10]
push esi
push edx
push eax
mov edx, 0x5a
call fcn.00451b20
add esp, 0xc
jmp 0x485e2d
movzx eax, cx
jmp 0x485dc0
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
add esi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x38]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x4c], esi
mov esi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jl 0x485d90
mov esi, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x48604d
movzx ecx, word [esi + 0x32]
mov eax, dword [edi + 0x6c]
add eax, ecx
mov dword [esp + 0x48], 0x34
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x20]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x48604d
mov eax, dword [ebp + 0x18]
inc eax
mov dword [esp + 0x5c], eax
nop
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], edx
mov esi, dword [eax]
mov ch, byte [esi + 0x4e]
mov cl, byte [esi + 0xa5]
mov byte [esp + 0x53], ch
mov byte [esp + 0x52], cl
test edx, edx
je 0x485ee7
movzx eax, cl
mov ecx, esi
push eax
call fcn.0047b7e0
mov cl, byte [esp + 0x56]
add esp, 4
mov edx, dword [esp + 0x78]
mov esi, eax
mov ch, byte [esp + 0x53]
mov dword [esp + 0x4c], eax
jmp 0x485eee
mov esi, dword [esi + 8]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x485f02
movzx eax, ch
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
add esi, 0xffffffec
mov dword [esp + 0x4c], esi
test cl, cl
jne 0x485f26
test esi, esi
je 0x485f10
cmp dword [esi + 0xc], 0
jne 0x485f26
push edx
mov dl, ch
mov ecx, dword [esp + 0x18]
push esi
call fcn.0047b700
mov esi, eax
add esp, 8
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edx*2]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x485f56
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0x35
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x6c]
add ecx, eax
cmp dword [edi + 0x70], edx
jg 0x485f84
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
push eax
push dword [esp + 0x40]
push ecx
mov ecx, edi
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x485fd1
mov esi, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x485fe9
push esi
mov edx, 0xfffffffe
call fcn.00452860
add esp, 4
jmp 0x48601d
test edx, edx
jns 0x485ff1
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x486012
push 0xfffffffffffffffe
push esi
mov edx, eax
mov ecx, edi
call fcn.00452a40
add esp, 8
jmp 0x48601d
test esi, esi
je 0x48601d
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfe
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x486034
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x485ea0
mov esi, dword [esp + 0x24]
lea eax, [esi - 1]
cmp eax, 5
ja case.0x48605d.5
jmp dword [eax*4 + 0x4863cc]
push dword [esp + 0x18]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0047aa00
add esp, 4
jmp 0x4861e6
mov eax, dword [esp + 0x34]
add eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.0049c7c0
add esp, 0xc
jmp 0x4860a4
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4860c7
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x4861e6
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x4861e6
mov eax, dword [esp + 0x54]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x486159
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x48612f
mov edx, dword [esp + 0x10]
call fcn.00498170
mov edx, eax
mov ecx, edx
test edx, edx
je 0x486148
cmp byte [ecx + 8], 0x75
jne 0x486141
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x486135
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov dword [esp + 0x38], ecx
mov esi, ecx
test ecx, ecx
jne 0x486192
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4861a2
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.00435ca0
add esp, 4
cmp dword [eax + 8], 0
jne 0x486192
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
je 0x4861a2
mov ecx, dword [esp + 0x14]
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 + 0x34]
add eax, edx
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x68]
push dword [esp + 0x34]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0047cc00
add esp, 0x24
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x18]
jne 0x48627b
mov edx, dword [esp + 0x64]
mov ecx, dword [edi + 0x6c]
inc edx
cmp dword [edi + 0x70], ecx
jg 0x486217
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x48624a
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 + 0x70]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x48625a
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x48626c
mov eax, 0x6562ec
mov dword [eax + 8], edx
jmp 0x4862a2
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4862a2
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x486299
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x4862a2
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x1c]
je 0x4862de
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4862d3
test ecx, ecx
je 0x4862de
mov al, byte [esi + 0x13]
mov edx, dword [esp + 0x10]
cmp al, 8
jae 0x4862e2
movzx eax, al
mov dword [esi + eax*4 + 0x90], ecx
inc byte [esi + 0x13]
jmp 0x4862e2
cmp eax, dword [esi + 0x1c]
jle 0x4862de
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
inc dword [esp + 0x34]
mov esi, dword [esi + 0x14]
mov eax, esi
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4855c2
mov edx, dword [esp + 0x68]
test edx, edx
je 0x48638e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x486325
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x486354
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 + 0x74]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x486362
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x486381
mov ecx, dword [esp + 0x6c]
mov eax, 0x6562ec
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret