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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x556358]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, ecx
mov byte [esp + 7], 0
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x10], eax
mov ebx, dword [eax + 8]
push esi
push edi
mov esi, edx
mov dword [esp + 0x48], ecx
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov edi, dword [ebx + 0x88]
mov edx, dword [ebp + 8]
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], edi
cmp dword [eax + 0x30], edi
jg 0x485d05
push ecx
push ecx
push ecx
lea edx, [ecx + 0x14]
mov ecx, ebx
call fcn.00433810
mov edx, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x485d3b
lea eax, [edi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x14
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 [edx + 0x10]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x48]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0xc]
movlpd qword [esp + 0x20], xmm0
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x5c], eax
cmp esi, eax
jae 0x485fd2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov edi, dword [esi]
jne 0x485e0c
test byte [esi + 0xa], 2
jne 0x485e0c
test byte [edi + 4], 1
jne 0x485e0c
mov eax, dword [edx + 0x30]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.0044ad50
mov dword [esp + 0x78], 0x44ad30
mov dword [esp + 0x88], eax
call fcn.00446410
cmp byte [esp + 0x84], 0
je 0x485e04
mov ebx, dword [esp + 0x18]
mov edx, edi
push 0
push 0
mov ecx, dword [ebx]
call fcn.00449ce0
mov edx, dword [esp + 0x60]
mov ecx, dword [ebx]
push eax
call fcn.00449800
add esp, 0xc
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x30]
jne 0x485fb7
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x485fb3
test byte [edx + 0x24], 8
je 0x485e3b
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x485e3b
test cl, cl
js 0x485fb3
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x485fb3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x485fb3
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.00448ae0
movsx eax, al
sub eax, 0x41
je 0x485e94
sub eax, 1
je 0x485e84
xor eax, eax
cmp bl, 0x43
setge al
jmp 0x485e8c
xor eax, eax
cmp bl, 0x42
sete al
test eax, eax
je 0x485faf
mov ecx, dword [esi + 0x1c]
xor edi, edi
cmp ecx, 0x40
jl 0x485ea5
mov ebx, SysReAllocString
jmp 0x485eba
mov eax, ecx
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
cmp byte [esp + 0x13], 0
jne 0x485ee6
mov edx, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00415900
add esp, 0x10
mov byte [esp + 0x13], 1
mov ecx, edi
mov eax, ebx
and ecx, dword [esp + 0x44]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x485faf
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
movzx eax, word [edx + 0x2c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
cmp eax, edx
jge 0x485f80
lea eax, [edx + 7]
and eax, 0xfffffff8
mov dword [esp + 0x4c], eax
shl eax, 2
push 0
push eax
call fcn.004138a0
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x4868a2
mov edx, dword [esp + 0x14]
movzx ecx, word [edx + 0x2c]
shl ecx, 2
push ecx
push dword [edx + 0x30]
push eax
call fcn.004e0df0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [ecx + 0x30]
lea eax, [ecx + 0x38]
cmp edx, eax
je 0x485f6b
mov ecx, dword [esp + 0x20]
call fcn.00413560
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x4c]
mov word [ecx + 0x2c], ax
jmp 0x485f84
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
inc edx
mov ecx, dword [esp + 0x30]
or dword [esp + 0x44], edi
mov edi, dword [esp + 0x1c]
inc dword [esp + 0x30]
or edi, ebx
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
jmp 0x485fbb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x5c]
jb 0x485d94
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
jmp 0x485fda
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
not edi
mov word [ecx + 0x28], ax
or edi, 0x80000000
mov word [ecx + 0x18], ax
not esi
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [edx + 0x40]
and esi, ecx
mov eax, dword [edx + 0x44]
and edi, eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], esi
xor esi, esi
mov dword [esp + 0x4c], ecx
movzx edi, word [edx + 0x2a]
mov edx, 0x3f
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], edi
cmp dx, di
jge 0x48602f
mov dword [esp + 0x40], edx
jmp 0x48603a
movsx edx, di
mov dword [esp + 0x40], edx
test edx, edx
jle 0x48607c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x44]
and ecx, edi
or edx, ecx
je 0x486067
inc dword [esp + 0x30]
inc esi
cmp esi, ebx
jl 0x486042
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
test eax, eax
jg 0x486096
jl 0x486086
test ecx, ecx
jae 0x486096
mov ecx, dword [esp + 0x30]
movsx eax, di
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [edi]
call fcn.004591f0
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4868a6
mov edx, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [esp + 0x34]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [edx + 0x20], eax
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x60], esi
cmp esi, dword [esp + 0x5c]
jae 0x48626a
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
nop word [eax + eax]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x30]
jne 0x486255
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x486255
test byte [edx + 0x24], 8
je 0x48613f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x48613f
test cl, cl
js 0x486255
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x486255
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x486255
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0x13], al
call fcn.00448ae0
movsx eax, al
sub eax, 0x41
je 0x4861a0
sub eax, 1
je 0x48618e
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
jmp 0x486198
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
test eax, eax
je 0x486251
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4861b1
mov eax, SysReAllocString
jmp 0x4861c4
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
cmovae eax, esi
xor esi, eax
cmp ecx, 0x40
cmovae eax, esi
mov ecx, esi
mov dword [esp + 0x20], eax
and ecx, dword [esp + 0x4c]
and eax, dword [esp + 0x50]
or ecx, eax
jne 0x48624d
mov edx, dword [esp + 0x60]
or dword [esp + 0x4c], esi
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
mov edx, dword [edx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x50], eax
mov ax, word [esi + 0x1c]
mov word [ecx + edi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x20], eax
test dword [edx + 4], 0x100
jne 0x486230
test eax, eax
je 0x48621f
test dword [eax + 4], 0x100
je 0x48621f
mov edx, eax
jmp 0x486230
mov ecx, dword [esp + 0x18]
call fcn.004488e0
test eax, eax
jne 0x486242
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.004488e0
mov ecx, 0x5409b0
test eax, eax
je 0x486244
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x486251
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
add esi, 0x30
mov dword [esp + 0x60], esi
cmp esi, dword [esp + 0x5c]
jb 0x486110
mov ebx, dword [esp + 0x38]
xor esi, esi
cmp dword [esp + 0x40], esi
jle 0x4862b6
mov ebx, dword [esp + 0x3c]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x44]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x4862ab
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x5409b0
inc edi
inc esi
cmp esi, dword [esp + 0x40]
jl 0x486276
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x44], 0
jg 0x4862fd
jl 0x4862c8
cmp dword [eax + 0x40], 0
jae 0x4862fd
mov esi, dword [esp + 0x34]
mov eax, 0x3f
mov edx, dword [esp + 0x3c]
cmp ax, word [esi + 0x2a]
jge 0x486301
mov ecx, eax
nop dword [eax]
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], 0x5409b0
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4862e0
jmp 0x486301
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x48]
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
inc edx
mov dword [eax + edi*4], 0x5409b0
mov eax, dword [ecx + 0x28]
mov dword [esi + 8], eax
inc dword [ecx + 0x28]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov esi, dword [esi + 8]
cmp dword [eax + 0x30], ecx
jg 0x486351
push 0
push edx
push esi
mov edx, 0x6b
mov ecx, ebx
call fcn.00433810
add esp, 0xc
jmp 0x486383
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], esi
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 + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x3c]
mov esi, dword [eax + 8]
call fcn.0045b970
mov edx, eax
test edx, edx
je 0x4863c8
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x4863b3
push edx
mov edx, 0xfffffff7
call fcn.00434500
add esp, 4
jmp 0x4863c8
mov eax, dword [esi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
inc dword [eax + 0x3c]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x54]
shl ecx, 4
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0xc]
add esi, 8
add esi, ecx
mov dword [esp + 0x54], esi
test byte [esi + 0x28], 0x10
je 0x486501
mov ecx, dword [ebx + 0x88]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x68], ecx
cmp dword [eax + 0x30], ecx
jg 0x486431
push 0
push 0
push 0
mov edx, 0x43
mov ecx, ebx
call fcn.00433810
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x486467
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x43
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 [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov esi, dword [esi + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x486491
push esi
push 0
push edx
mov edx, 0xf
mov ecx, ebx
call fcn.00433810
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4864c3
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
jg 0x4864e9
push 0
push 0
push edx
mov edx, 0x10
mov ecx, ebx
call fcn.00433810
add esp, 0xc
mov esi, eax
jmp 0x48655d
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x10
jmp 0x48653d
mov esi, dword [ebx + 0x88]
mov edx, dword [edx + 4]
cmp dword [eax + 0x30], esi
jg 0x486527
push 0
push 0
push edx
mov edx, 0x25
mov ecx, ebx
call fcn.00433810
add esp, 0xc
mov esi, eax
jmp 0x48655d
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x25
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
cmp dword [esp + 0x58], 0
je 0x4865d3
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x64], edx
lea eax, [edx + 1]
mov dword [ecx + 0x44], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4865a1
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00413a60
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x4865af
mov dword [eax + edx*4], 0xffffffff
not edx
push 0x10
push edx
push dword [esp + 0x60]
mov dword [esp + 0x70], edx
push dword [esp + 0x24]
call fcn.0044fdb0
mov eax, dword [esp + 0x24]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4865e6
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4865f5
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x15c]
mov edx, dword [esp + 0x3c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
push dword [eax + 4]
call fcn.0045dab0
mov ecx, dword [ebx + 0xc]
add esp, 0x18
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x30], edx
jg 0x48664b
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x7f
call fcn.00433810
add esp, 0xc
jmp 0x486681
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x48669b
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x58]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x58], 0
je 0x4866c1
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4866c1
mov eax, dword [esp + 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
test byte [eax + 0x28], 0x10
je 0x486780
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x4866de
mov ecx, dword [ebx + 0x88]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x4866ed
mov ecx, 0x55b424
jmp 0x4866f6
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x5c]
mov edx, esi
add eax, edi
mov edi, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
push 1
push dword [edi + 0x20]
push dword [eax + 4]
call fcn.00485b60
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x486748
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.00433810
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4867de
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [edi + 0x28], 0xffffffef
jmp 0x4867de
mov eax, dword [esp + 0x48]
lea edx, [esi + 1]
mov ecx, dword [ebx + 0x88]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4867ad
push 0
push edx
push edi
mov edx, 7
mov ecx, ebx
call fcn.00433810
add esp, 0xc
jmp 0x4867de
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4867f8
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [ebx + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [ebx + 0x88]
test esi, esi
jns 0x486805
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x486814
mov eax, 0x55b424
jmp 0x48681d
mov eax, dword [ebx + 0x58]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x486863
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x486863
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x94]
xor ecx, ecx
test esi, esi
je 0x486854
cmp dword [eax + 0xc], edx
je 0x48688d
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x486847
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x15c], edx
inc byte [edi + 0x13]
mov ecx, edi
call fcn.0044dda0
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebx + 0x88]
test ecx, ecx
jns 0x48687b
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x486893
mov eax, 0x55b424
mov dword [eax + 8], edx
jmp 0x4868a6
mov byte [eax + 6], 1
jmp 0x486863
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4868a6
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4868b7
mov ecx, dword [edi]
mov edx, eax
call fcn.00449b20
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7fbc
mov esp, ebp
pop ebp
ret