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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov edi, dword [ecx + 8]
pcmpeqd xmm0, xmm0
xor ebx, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc0], 0xffffffff
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
test edi, edi
je 0x486972
mov esi, edx
test edx, edx
je case.0x486911.119
mov edx, ecx
mov dword [esp], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [esi]
mov eax, ebx
add al, 0x78
cmp al, 0xeb
ja case.0x486911.119
movzx eax, al
movzx ecx, bl
jmp dword [eax*4 + 0x50af38]
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x486900
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x48695b
lea ecx, [eax + 1]
mov ebx, dword [ebp + 8]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0x48
mov dword [ecx + eax*4 + 4], 0
mov dword [ecx + eax*4 + 8], ebx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x486972
mov ecx, edi
mov edx, 0x48
push 0
mov ebx, dword [ebp + 8]
push ebx
push 0
call fcn.0046c600
add esp, 0xc
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], edi
mov edi, edx
mov edx, dword [esi + 0xc]
mov dword [esp + 4], ecx
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00488da0
add esp, 4
mov edx, dword [esi + 0x10]
mov esi, dword [esp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.00488da0
add esp, 4
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jle 0x486a00
lea edx, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
mov esi, dword [esp + 0xc]
mov byte [edx + ecx*4], bl
mov ebx, dword [ebp + 8]
mov word [edx + ecx*4 + 2], 0
mov dword [edx + ecx*4 + 4], eax
mov dword [edx + ecx*4 + 8], esi
mov dword [edx + ecx*4 + 0xc], ebx
mov dword [edx + ecx*4 + 0x10], 0
mov byte [edx + ecx*4 + 1], 0
jmp 0x486a17
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
jmp 0x486a36
mov edx, dword [esp + 4]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [esp + 0x10]
push eax
call fcn.0046c600
add esp, 0xc
mov edx, dword [esp]
jmp 0x487a9a
xor eax, eax
cmp bl, 0x2d
mov dword [esp + 0xc], pe_nt_image_headers32
sete al
or eax, 0x34
mov dword [esp + 4], eax
mov ebx, dword [esi + 0xc]
mov al, byte [ebx]
cmp al, 0xad
mov ecx, eax
jne 0x486a44
mov cl, byte [ebx + 2]
cmp cl, 0x88
je 0x486a53
cmp cl, 0xae
jne 0x486a60
lea ecx, [ebx + 0x14]
jmp 0x486a59
mov ecx, dword [ebx + 0x14]
add ecx, 0x1c
mov ecx, dword [ecx]
cmp dword [ecx], 2
jge 0x486ac0
mov ecx, edx
lea eax, [esp + 0x30]
mov edx, ebx
push eax
call fcn.00488da0
add esp, 4
mov edx, dword [esi + 0x10]
mov ecx, dword [esp]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00488da0
add esp, 4
mov edx, ebx
mov ebx, dword [esi + 4]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp]
shr ebx, 9
or edi, 0x20
and ebx, 1
push ebx
push edi
mov ebx, dword [ebp + 8]
push ebx
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x10]
call fcn.00488ec0
mov edx, dword [esp + 0x1c]
add esp, 0x1c
jmp 0x487a9a
mov ecx, dword [esi + 0x10]
cmp al, 0xad
mov dword [esp + 0x24], ecx
jne 0x486ace
mov al, byte [ebx + 2]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
cmp al, 0x88
je 0x4872ec
cmp al, 0xae
mov dword [esp + 0x20], 1
jne 0x4872fe
mov eax, dword [esp + 0x2c]
add eax, 0x14
jmp 0x4872f6
mov dword [esp + 4], ecx
mov ecx, edx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
call fcn.00488da0
add esp, 4
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jle 0x4871ce
lea edx, [esi + 1]
lea ecx, [esi + esi*4]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
mov byte [edx + ecx*4], bl
mov ebx, dword [ebp + 8]
mov word [edx + ecx*4 + 2], 0
mov dword [edx + ecx*4 + 4], eax
mov dword [edx + ecx*4 + 8], ebx
mov dword [edx + ecx*4 + 0xc], 0
jmp 0x4869e3
mov eax, dword [edi + 0x6c]
mov dword [esp + 4], ecx
cmp dword [edi + 0x70], eax
jle 0x4871df
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0x45
mov dword [ecx + eax*4 + 4], 1
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4871f5
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jne 0x48739a
mov ecx, edx
mov edx, esi
call fcn.00489bc0
mov ebx, eax
jmp 0x486972
mov edx, dword [esi + 8]
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 0
jmp 0x4874b7
mov eax, dword [esi + 8]
add eax, 2
mov dword [esp], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [edi]
mov edx, dword [esp]
mov ebx, eax
and ebx, 0x3fffffff
lea esi, [ebx - 1]
push esi
call fcn.00488780
add esp, 4
shr esi, 0x1f
mov dword [esp], eax
mov ecx, edi
mov edx, 0x4a
lea eax, [ebx + esi - 1]
sar eax, 1
push 0
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, eax
push 0xfffffffffffffff9
push dword [esp + 4]
jmp 0x487a32
mov ebx, dword [ebp + 8]
mov ecx, edx
mov edx, esi
push ebx
push 0
jmp 0x486eb5
movsx eax, word [esi + 0x20]
mov dword [esp + 8], edi
mov ecx, edi
mov edx, 0x4b
push 0
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.0046c5a0
add esp, 0xc
mov eax, dword [esi + 8]
cmp byte [eax + 1], 0
je 0x486972
mov eax, dword [esp]
xor edx, edx
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4879d5
movsx ecx, word [esi + 0x20]
mov ebx, dword [eax + 4]
mov esi, 2
cmp dword [eax + esi*4], ecx
je 0x4879ce
add esi, dword [eax + esi*4 + 4]
cmp esi, ebx
jl 0x486c76
jmp 0x4879d2
pcmpeqd xmm0, xmm0
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 8], edi
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, dword [esi + 0x14]
mov eax, dword [edx + 0x38]
mov ebx, dword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
dec eax
mov dword [edx + 0x38], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x487487
mov edx, ecx
mov ecx, ebx
push 0
push 0
call fcn.0048fa30
add esp, 8
cmp byte [ebx + 0x51], 0
mov edx, eax
mov ecx, ebx
je 0x48792d
mov ebx, dword [ebp + 8]
test edx, edx
je 0x486a17
call fcn.00469b50
jmp 0x486a17
mov eax, dword [esi + 0x28]
test eax, eax
je 0x487346
movsx ecx, word [esi + 0x22]
test ecx, ecx
js 0x487346
cmp dword [eax + 0x2c], ecx
jle 0x487346
mov eax, dword [eax + 0x28]
shl ecx, 4
mov ebx, dword [eax + ecx + 8]
jmp 0x486972
mov eax, dword [esi + 0x28]
movsx ecx, word [esi + 0x22]
mov ebx, dword [eax + 0x1c]
cmp byte [eax], 0
je 0x4874a0
cmp byte [eax + 1], 0
je 0x486d9d
lea esi, [ecx + ecx*2]
mov dword [esp + 8], edi
mov edx, 0x59
mov ecx, dword [ebx + esi*8]
mov dword [esp], ecx
mov ecx, edi
push dword [ebp + 8]
push dword [ebx + esi*8 + 0xc]
push dword [eax + 8]
call fcn.0046c5a0
add esp, 0xc
mov eax, dword [ebx + esi*8 + 8]
test eax, eax
js 0x4880a1
mov ecx, dword [esp]
lea eax, [eax + eax*4]
mov ecx, dword [ecx + 4]
cmp byte [ecx + eax*4 + 0xd], 0x45
jne 0x4880a1
jmp 0x486ded
test byte [esi + 4], 8
mov dword [esp + 8], edi
jne 0x48735d
mov ebx, dword [esi + 0x1c]
test ebx, ebx
jns 0x486dbe
mov ebx, dword [edx + 0x34]
test ebx, ebx
js 0x487aed
dec ebx
movzx eax, byte [esi + 2]
mov ecx, edx
mov edx, dword [esi + 0x2c]
movsx edi, word [esi + 0x20]
push eax
push dword [ebp + 8]
push ebx
push edi
call fcn.00488330
add esp, 0x10
cmp dword [esi + 0x2c], 0
jne 0x4880a1
cmp byte [esi + 1], 0x45
jne 0x4880a1
mov ecx, dword [esp + 8]
mov edx, 0x53
push 0
push 0
mov ebx, dword [ebp + 8]
jmp 0x487038
test byte [esi + 5], 0x10
jne 0x4873ac
mov ebx, dword [ebp + 8]
jmp 0x4873b8
test byte [esi + 7], 1
jne 0x4873d9
mov eax, dword [edx]
cmp byte [edx + 0x17], 0
mov bl, byte [eax + 0x4e]
mov dword [esp + 0xc], eax
je 0x487911
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x50]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
movdqa xmmword [esp + 0x50], xmm0
mov word [esp + 0x64], 2
mov dword [esp + 0x54], 0x48d010
mov dword [esp + 0x58], 0x48d190
mov dword [esp + 0x68], 0
call fcn.0048d1b0
mov ecx, dword [esp]
cmp word [esp + 0x64], 0
je 0x487911
mov edx, esi
push 0xffffffffffffffff
call fcn.00489020
add esp, 4
mov ebx, eax
jmp 0x486972
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0x96
je 0x4874ac
cmp al, 0x98
jne 0x4874c4
mov ecx, dword [esp]
mov ebx, dword [ebp + 8]
push ebx
push 1
call fcn.00488390
add esp, 8
jmp 0x486972
mov ecx, edx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 8], edi
push eax
call fcn.00488da0
add esp, 4
mov edx, dword [esi + 0x10]
test byte [edx + 5], 0x10
jne 0x4873e4
mov ecx, dword [esp + 8]
jmp 0x4873f1
mov ebx, dword [esi + 0x1c]
jmp 0x486972
push str.row_value_misused
push edx
call fcn.0042af90
mov edx, dword [esp + 8]
add esp, 8
mov ebx, dword [ebp + 8]
jmp 0x487a9a
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x486f27
mov ecx, dword [esp]
call fcn.00489bc0
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4879bf
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx]
cmp dl, 0xad
jne 0x486f3f
mov dl, byte [ecx + 2]
cmp dl, 0x88
je 0x48799e
mov edi, 1
cmp dl, 0xae
jne 0x4879a8
add ecx, 0x14
jmp 0x4879a4
mov al, byte [edx + 0x17]
mov ecx, edi
mov dword [esp + 8], edi
mov edi, edx
mov edx, 0x15
mov byte [esp + 4], al
push 0
push 0
push dword [esi + 0x1c]
call fcn.0046c5a0
add esp, 0xc
mov byte [edi + 0x17], 0
mov ebx, eax
mov ecx, edi
mov edx, dword [esi + 0xc]
push dword [ebp + 8]
call fcn.00486890
add esp, 4
mov cl, byte [esp + 4]
mov esi, dword [esp + 8]
mov byte [edi + 0x17], cl
mov ecx, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [ecx + 0x51], 0
mov ecx, 0x51ea94
jne 0x486fc3
lea ecx, [edx - 1]
test ebx, ebx
cmovns ecx, ebx
lea ecx, [ecx + ecx*4]
shl ecx, 2
add ecx, dword [esi + 0x68]
test ebx, ebx
mov dword [ecx + 8], edx
jns 0x486fce
mov ebx, dword [esi + 0x6c]
dec ebx
mov ecx, dword [esi]
mov edx, 0x51ea94
cmp byte [ecx + 0x51], 0
jne 0x486fe4
lea edx, [ebx + ebx*4]
shl edx, 2
add edx, dword [esi + 0x68]
mov dword [edx + 0xc], eax
mov edx, dword [esp]
mov ebx, eax
jmp 0x487a9a
mov ebx, dword [ebp + 8]
mov ecx, edx
mov edx, dword [esi + 0xc]
mov dword [esp + 8], edi
push ebx
call fcn.00486890
add esp, 4
cmp eax, ebx
je 0x48701f
mov ecx, dword [esp + 8]
mov edx, 0x4e
push 0
push ebx
push eax
call fcn.0046c5a0
add esp, 0xc
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.00488be0
mov ecx, dword [esp + 8]
mov edx, 0x54
movzx eax, al
push 0
push eax
push ebx
jmp 0x4873cf
mov ecx, edx
mov edx, esi
push 0
push 0
mov ebx, dword [ebp + 8]
push ebx
call fcn.0048b2e0
jmp 0x48696f
mov ebx, dword [edx + 0x38]
mov ecx, edi
mov dword [esp + 8], edi
mov edi, edx
lea eax, [ebx - 1]
add ebx, 0xfffffffe
mov dword [edx + 0x38], ebx
mov dword [esp + 4], eax
mov edx, 0x48
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, esi
push ebx
mov edi, dword [esp + 8]
push edi
call fcn.0048a270
add esp, 8
mov esi, dword [esp + 8]
mov edx, 0x45
mov ecx, esi
push 0
push dword [ebp + 8]
push 1
call fcn.0046c5a0
add esp, 0xc
mov ecx, esi
mov edx, edi
call fcn.0048b2b0
mov ecx, esi
mov edx, 0x52
push 0
push 0
mov edi, dword [ebp + 8]
push edi
call fcn.0046c5a0
add esp, 0xc
mov edx, ebx
mov ecx, esi
mov ebx, edi
call fcn.0048b2b0
jmp 0x486972
cmp dword [edx + 0x78], 0
jne 0x4870ed
cmp byte [edx + 0x12], 0
je 0x487a3f
mov al, byte [esi + 1]
cmp al, 2
jne 0x487103
mov eax, dword [edx + 0x74]
test eax, eax
cmove eax, edx
mov byte [eax + 0x15], 1
mov al, byte [esi + 1]
mov ebx, dword [ebp + 8]
cmp al, 4
jne 0x487457
mov esi, dword [esi + 8]
mov ecx, edi
mov edx, 0x44
push 0
push 4
push 0
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, eax
push 0
push esi
call fcn.0042b420
jmp 0x4878fa
mov ecx, dword [esi + 0x2c]
movsx edx, word [esi + 0x20]
movsx ebx, word [ecx + 0x2a]
mov dword [esp + 4], ecx
inc ebx
imul ebx, dword [esi + 0x1c]
mov esi, edx
call fcn.004880b0
cwde
mov dword [esp + 8], edi
mov ecx, edi
mov edx, 0x94
lea eax, [eax + ebx + 1]
push 0
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.0046c5a0
add esp, 0xc
test esi, esi
js 0x486a17
mov ecx, dword [esp + 4]
movzx eax, si
lea eax, [eax + eax*4]
mov ecx, dword [ecx + 4]
cmp byte [ecx + eax*4 + 0xd], 0x45
jne 0x486a17
mov ecx, dword [esp + 8]
mov edx, 0x53
push 0
push 0
push ebx
call fcn.0046c5a0
jmp 0x486a14
mov esi, dword [esi + 8]
mov ecx, edi
mov edx, 0x73
push 0
mov ebx, dword [ebp + 8]
push ebx
push 0
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, eax
push 0
jmp 0x487a31
mov edx, dword [esp + 4]
mov ecx, edi
push 0
mov ebx, dword [ebp + 8]
push ebx
jmp 0x486a0e
mov ecx, edi
mov edx, 0x45
push 0
push dword [ebp + 8]
push 1
call fcn.0046c600
add esp, 0xc
mov edx, dword [esi + 0xc]
mov ecx, dword [esp]
lea eax, [esp + 0x30]
push eax
call fcn.00488da0
add esp, 4
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jle 0x487255
mov dword [esp + 0xc], eax
mov eax, edx
inc edx
mov dword [edi + 0x6c], edx
mov dword [esp + 4], eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov esi, dword [edi + 0x68]
mov byte [esi + edx*4], bl
mov word [esi + edx*4 + 2], 0
mov dword [esi + edx*4 + 4], eax
mov dword [esi + edx*4 + 8], 0
mov dword [esi + edx*4 + 0xc], 0
mov dword [esi + edx*4 + 0x10], 0
mov byte [esi + edx*4 + 1], 0
jmp 0x48726c
mov edx, dword [esp + 4]
mov ecx, edi
push 0
push 0
push eax
call fcn.0046c600
add esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [edi + 0x6c]
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x70], eax
jle 0x4872a8
lea edx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
mov dword [edx + eax*4], 0x45
mov dword [edx + eax*4 + 4], 0
mov dword [edx + eax*4 + 8], ebx
mov dword [edx + eax*4 + 0xc], 0
mov dword [edx + eax*4 + 0x10], 0
jmp 0x4872bc
mov ecx, edi
mov edx, 0x45
push 0
push ebx
push 0
call fcn.0046c600
add esp, 0xc
mov edx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, 0x51ea94
cmp byte [edx + 0x51], 0
jne 0x4872e1
mov edx, dword [esp + 4]
lea ecx, [eax - 1]
test edx, edx
cmovns ecx, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
add ecx, dword [edi + 0x68]
mov edx, dword [esp]
mov dword [ecx + 8], eax
jmp 0x487a9a
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
add eax, 0x1c
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
cmp dword [edx + 0x24], 0
jne 0x487a9a
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov cl, byte [esi]
cmp cl, 0xad
mov byte [esp + 0x10], cl
jne 0x487328
mov cl, byte [esi + 2]
cmp cl, 0x88
mov dword [esp + 0x34], eax
je 0x487533
cmp cl, 0xae
jne 0x487543
lea ecx, [esi + 0x14]
jmp 0x487539
push dword [esi + 8]
push str.misuse_of_aggregate:__s__
push edx
call fcn.0042af90
mov edx, dword [esp + 0xc]
jmp 0x487a94
mov ecx, edx
mov edx, dword [esi + 0xc]
push dword [ebp + 8]
call fcn.00486890
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x48798d
movzx edx, word [esi + 0x20]
mov edi, dword [esp + 8]
test dx, dx
js 0x487a0b
mov eax, dword [eax + 4]
lea edx, [edx + edx*4]
lea esi, [eax + edx*4 + 0xd]
jmp 0x487992
cmp dword [edx + 0x24], 0
je 0x4879ee
mov ebx, dword [ebp + 8]
jmp 0x487a9a
mov ebx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
test byte [esi + 5], 0x10
jne 0x4873af
mov ecx, dword [esi + 8]
xor eax, eax
mov edx, 0x45
cmp byte [ecx + 4], 0
mov ecx, edi
sete al
push 0
push ebx
push eax
call fcn.0046c5a0
jmp 0x48696f
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax + 0x38]
jmp 0x486972
mov ecx, dword [esp + 8]
mov edx, dword [edx + 0xc]
test byte [edx + 5], 0x10
jne 0x4873e8
mov edx, dword [edx + 8]
xor ebx, ebx
mov dl, byte [edx + 4]
test dl, dl
mov byte [esp + 4], dl
mov dl, byte [esi + 2]
setne bl
mov byte [esp + 0xc], dl
mov edx, 0x57
push ebx
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.0046c5a0
mov edx, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
jne 0x486a17
cmp byte [esp + 4], 0
mov esi, edx
lea eax, [eax + eax*4]
sete cl
cmp byte [esp + 0xc], 0x2d
sete dl
xor dl, cl
movzx ecx, dl
mov edx, dword [esi + 0x68]
mov byte [edx + eax*4 + 1], 0xfd
mov dword [edx + eax*4 + 0x10], ecx
jmp 0x486a17
cmp dword [edx + 0x78], 0
mov ecx, 1
mov edx, 0x713
movsx eax, al
cmove edx, ecx
mov ecx, dword [esp]
push 0
push 0
push dword [esi + 8]
push eax
call fcn.0048bc50
mov edx, dword [esp + 0x10]
add esp, 0x10
jmp 0x487a9a
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
jmp 0x487bb5
lea eax, [ecx + ecx*2]
mov ebx, dword [ebx + eax*8 + 0x10]
jmp 0x486972
mov edx, dword [edx + 8]
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 1
call fcn.00488700
add esp, 8
jmp 0x486972
mov dword [esp + 8], edi
mov edi, dword [esp]
lea eax, [esp + 0x30]
lea edx, [esp + 0x90]
mov byte [esp + 0x90], 0x98
mov dword [esp + 0x94], 0x4400
mov dword [esp + 0x98], 0
mov ecx, edi
push eax
call fcn.00488da0
add esp, 4
mov edx, dword [esi + 0xc]
mov ebx, eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.00488da0
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov edx, 0x6a
push esi
push ebx
mov ebx, esi
push eax
call fcn.0046c5a0
mov edx, edi
add esp, 0xc
jmp 0x487a9a
mov ecx, dword [esi + 0x14]
add ecx, 0x1c
mov ecx, dword [ecx]
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx]
jmp 0x487548
cmp dword [esp + 0x20], 1
sete cl
test cl, cl
je 0x4878ef
mov eax, dword [esp + 4]
mov ecx, 0x38
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
cmp al, 0x37
movzx eax, al
cmovne ecx, eax
mov dword [esp + 0x4c], eax
mov eax, 0x36
cmp cl, 0x39
cmovne eax, ecx
cmp byte [ebx], 0x88
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x10]
jne 0x4875aa
mov ecx, edx
mov edx, ebx
call fcn.00489bc0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov edx, dword [esp]
mov al, byte [esi]
shr dword [esp + 0x38], 9
cmp al, 0x88
jne 0x4875c3
mov ecx, edx
mov edx, esi
call fcn.00489bc0
mov edx, dword [esp]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
and dword [esp + 0x38], 1
neg dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 4], 0
mov dword [esp + 8], edi
or al, 0x20
mov dword [esp + 0xc], eax
jmp 0x487638
lea ecx, [eax + 1]
mov esi, dword [esp + 0x34]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0x14
mov dword [ecx + eax*4 + 4], ebx
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
or al, 8
mov dword [esp + 0xc], eax
mov al, 0x35
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
inc dword [esp + 4]
add ecx, 0x10
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
movzx eax, byte [ebx]
cmp al, 0x88
je 0x48766b
cmp al, 0xad
jne 0x487685
movzx eax, byte [ebx + 2]
cmp al, 0xae
je 0x4876af
cmp al, 0x88
mov dword [esp + 0x10], ebx
jne 0x4876c3
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x1c]
jmp 0x4876b2
mov eax, dword [ebx + 0x14]
mov ebx, dword [esp + 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
add eax, ebx
jmp 0x4876ca
mov eax, dword [ebx + 0x14]
mov ebx, ecx
mov eax, dword [eax + ecx + 4]
mov ecx, edx
mov dword [esp + 0x10], eax
mov edx, eax
lea eax, [esp + 0x50]
push eax
call fcn.00488da0
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 4]
mov ecx, ebx
add esp, 4
jmp 0x4876ca
mov eax, dword [ebx + 0x14]
cmp dword [eax], 2
mov dword [esp + 0x10], ebx
jl 0x4876c3
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi]
mov dword [esp + 0x28], ecx
cmp al, 0x88
je 0x4876f3
cmp al, 0xad
jne 0x48770d
movzx eax, byte [esi + 2]
cmp al, 0xae
je 0x48772f
cmp al, 0x88
mov edi, esi
jne 0x48773d
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
jmp 0x487732
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ecx + 4]
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
add eax, ecx
jmp 0x487748
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx + 4]
mov ecx, edx
mov dword [esp + 0x18], eax
mov edx, eax
lea eax, [esp + 0x48]
push eax
call fcn.00488da0
mov edx, dword [esp + 4]
add esp, 4
jmp 0x487748
mov eax, dword [esi + 0x14]
cmp dword [eax], 2
mov edi, esi
jl 0x48773d
mov edi, dword [eax + ecx + 4]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], edi
add eax, dword [esp + 4]
mov ecx, edx
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x14]
movzx esi, byte [esp + 0xc]
push dword [esp + 0x38]
push esi
push dword [ebp + 8]
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
push ebx
push dword [esp + 0x30]
call fcn.00488ec0
mov edx, dword [esp + 0x1c]
add esp, 0x1c
mov eax, dword [esp + 0x50]
test eax, eax
je 0x48779f
movzx ecx, byte [edx + 0x13]
cmp ecx, 7
ja 0x48779f
mov esi, dword [esp]
mov edx, ecx
inc dl
mov byte [esi + 0x13], dl
mov edx, dword [esp]
mov dword [edx + ecx*4 + 0x94], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4877cf
movzx ecx, byte [edx + 0x13]
cmp ecx, 7
ja 0x4877cf
mov edi, dword [esp]
mov edx, ecx
inc dl
mov byte [edi + 0x13], dl
mov edx, dword [esp]
mov dword [edx + ecx*4 + 0x94], eax
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 8]
cmp esi, 0xffffffff
je 0x487906
mov eax, dword [esp + 0x14]
cmp al, 0x34
je 0x487816
cmp al, 0x35
jne 0x48784f
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jg 0x4875e6
mov edx, 0x14
mov ecx, edi
push 0
push dword [esp + 0x38]
push ebx
call fcn.0046c600
mov edx, dword [esp + 0xc]
add esp, 0xc
jmp 0x487615
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x48788c
lea ecx, [eax + 1]
mov esi, dword [esp + 0x34]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0x12
mov dword [ecx + eax*4 + 4], ebx
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4878a6
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x4878bb
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x34]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0x3a
mov dword [ecx + eax*4 + 4], 0
mov dword [ecx + eax*4 + 8], ebx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4878d6
mov edx, 0x12
mov ecx, edi
push 0
push dword [esp + 0x38]
push ebx
call fcn.0046c600
mov edx, dword [esp + 0xc]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
or al, 8
mov dword [esp + 0xc], eax
mov al, 0x34
jmp 0x487625
mov edx, 0x3a
mov ecx, edi
push 0
push dword [esp + 0x38]
push 0
call fcn.0046c600
mov edx, dword [esp + 0xc]
add esp, 0xc
cmp esi, 0xfffffffe
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
cmove eax, dword [esp + 0x4c]
jmp 0x487629
push str.row_value_misused
push edx
call fcn.0042af90
mov edx, dword [esp + 8]
add esp, 8
jmp 0x487a9a
mov edx, dword [esp + 0x34]
mov ecx, edi
jmp 0x487da3
mov eax, dword [esi + 0x14]
mov ecx, ebx
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 0x18], eax
je 0x487a54
mov ebx, dword [eax]
jmp 0x487a56
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp]
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x20]
push eax
call fcn.0048b6e0
mov edx, dword [esp + 0x24]
add esp, 4
xor ecx, ecx
test edx, edx
jne 0x487968
jmp 0x487b5d
mov edx, dword [edx + 0x14]
add edx, 4
mov edx, dword [edx]
test edx, edx
je 0x487b5d
mov esi, dword [edx + 4]
test esi, 0x41000
je 0x487b5b
test esi, 0x40000
jne 0x487958
add edx, 0xc
mov edx, dword [edx]
test edx, edx
jne 0x487968
jmp 0x487b5d
mov edi, dword [esp + 8]
inc esi
mov al, byte [esi]
cmp al, 0x42
jl 0x486972
jmp 0x487a0d
mov ecx, dword [ecx + 0x14]
add ecx, 0x1c
mov ecx, dword [ecx]
mov edi, dword [ecx]
cmp eax, edi
je 0x4879bf
push edi
push eax
push str._d_columns_assigned__d_values
push dword [esp + 0xc]
call fcn.0042af90
add esp, 0x10
mov eax, dword [esi + 0xc]
movsx ebx, word [esi + 0x20]
add ebx, dword [eax + 0x1c]
jmp 0x486972
lea edx, [eax + esi*4 + 8]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov dword [eax], 0
push 0xffffffffffffffff
call fcn.00486760
add esp, 4
jmp 0x486972
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edx
call fcn.0042af90
mov edx, dword [esp + 0x10]
add esp, 0x10
mov ebx, dword [ebp + 8]
jmp 0x487a9a
mov al, 0x44
movzx eax, al
mov ecx, edi
mov edx, 0x5a
lea esi, [eax + eax + 0x5136b4]
push 0
push 1
push ebx
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, eax
push 0xffffffffffffffff
push esi
call fcn.0042b420
add esp, 8
jmp 0x486972
push str.RAISE___may_only_be_used_within_a_trigger_program
push edx
call fcn.0042af90
add esp, 8
xor ebx, ebx
jmp 0x486972
xor ebx, ebx
mov edx, dword [esi + 8]
movzx eax, cl
mov ecx, dword [esp + 0xc]
mov edi, edx
push 0
push eax
mov dword [esp + 0xc], ebx
push ebx
call fcn.00431280
add esp, 0xc
test eax, eax
je 0x487a82
cmp dword [eax + 0x14], 0
mov ebx, eax
je 0x487dad
push edi
push str.unknown_function:__s__
mov esi, dword [esp + 8]
push esi
call fcn.0042af90
mov edx, esi
add esp, 0xc
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x487abf
movzx ecx, byte [edx + 0x13]
cmp ecx, 7
ja 0x487abf
mov esi, dword [esp]
mov edx, ecx
inc dl
mov byte [esi + 0x13], dl
mov edx, dword [esp]
mov dword [edx + ecx*4 + 0x94], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x486972
movzx ecx, byte [edx + 0x13]
cmp ecx, 7
ja 0x486972
mov esi, edx
mov dh, cl
inc dh
mov byte [esi + 0x13], dh
mov dword [esi + ecx*4 + 0x94], eax
jmp 0x486972
movzx eax, word [esi + 0x20]
test ax, ax
js 0x487e6a
mov ecx, dword [esi + 0x2c]
movsx edx, ax
lea esi, [eax + eax*4]
mov edi, dword [ecx + 4]
call fcn.004880b0
cwde
sub eax, ebx
mov ebx, eax
movzx eax, word [edi + esi*4 + 0x10]
test al, 0x60
je 0x487ea4
lea edx, [edi + esi*4]
test eax, 0x100
jne 0x487ed7
mov ecx, eax
lea edi, [edi + esi*4 + 0x10]
or ecx, 0x100
test al, al
mov word [edi], cx
jns 0x487b4d
mov ecx, dword [esp]
push ebx
call fcn.00488130
add esp, 4
movzx ecx, word [edi]
and ecx, 0xfe7f
mov word [edi], cx
jmp 0x486972
mov ecx, edx
mov dl, byte [ecx]
pxor xmm0, xmm0
mov byte [ecx + 2], dl
mov byte [ecx], 0xad
mov dword [ecx + 0x1c], eax
and byte [ecx + 5], 0xef
lea ecx, [esp + 0x50]
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x80], 0
mov byte [esp + 0x50], 0x35
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
lea esi, [eax - 1]
cmp eax, 2
mov dword [esp + 0x28], esi
jl 0x487d43
mov eax, dword [esp + 0x2c]
xor ebx, ebx
lea esi, [eax + 0x14]
jmp 0x487c00
mov eax, dword [edi + 0x6c]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4], edx
mov edx, dword [esp]
add ebx, 2
add esi, 0x20
mov ecx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x28]
jge 0x487d43
mov eax, dword [esi - 0x10]
test ecx, ecx
mov dword [esp + 0x14], ebx
je 0x487c15
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
jmp 0x487c17
mov ecx, eax
mov eax, dword [edx + 0x38]
mov dword [esp + 4], eax
dec eax
mov dword [edx + 0x38], eax
push 0x10
push eax
mov dword [esp + 0x18], ecx
push ecx
push edx
mov edi, edx
call fcn.0048b810
add esp, 0x10
mov dword [esp + 0xc], esi
mov esi, dword [esi]
mov ebx, dword [ebp + 8]
mov ecx, edi
mov edx, esi
push ebx
call fcn.00486890
add esp, 4
mov edi, dword [esp + 8]
cmp eax, ebx
je 0x487cbd
mov ecx, dword [esp]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x487cbd
movzx edx, byte [esi + 6]
mov ebx, dword [ecx + 0x6c]
and dl, 0x20
cmp dl, 1
mov edx, 0x4d
adc edx, 0
cmp dword [ecx + 0x70], ebx
jle 0x487caf
lea esi, [ebx + 1]
mov dword [ecx + 0x6c], esi
lea esi, [ebx + ebx*4]
mov ecx, dword [ecx + 0x68]
mov byte [ecx + esi*4], dl
mov edx, dword [ebp + 8]
mov word [ecx + esi*4 + 2], 0
mov dword [ecx + esi*4 + 4], eax
mov dword [ecx + esi*4 + 8], edx
mov dword [ecx + esi*4 + 0xc], 0
mov dword [ecx + esi*4 + 0x10], 0
mov byte [ecx + esi*4 + 1], 0
jmp 0x487cbd
push 0
push dword [ebp + 8]
push eax
call fcn.0046c600
add esp, 0xc
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x487cfa
lea ecx, [eax + 1]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
mov dword [ecx + eax*4], 0xb
mov dword [ecx + eax*4 + 4], 0
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x487d11
mov ecx, edi
mov edx, 0xb
push 0
push dword [esp + 0x20]
push 0
call fcn.0046c600
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
neg dword [esp + 4]
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
jns 0x487bd4
mov edx, edi
push dword [esp + 4]
call fcn.0048f970
mov edx, dword [esp + 4]
add esp, 4
jmp 0x487bec
test byte [esp + 0x24], 1
jne 0x487d65
mov esi, edi
mov ecx, edi
mov edx, 0x48
push 0
mov ebx, dword [ebp + 8]
push ebx
push 0
call fcn.0046c5a0
add esp, 0xc
jmp 0x487d85
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebx, dword [ebp + 8]
mov esi, edi
shl ecx, 4
mov edx, dword [eax + ecx + 4]
mov ecx, dword [esp]
push ebx
call fcn.00486180
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
test edx, edx
je 0x487d96
call fcn.00469b50
mov ecx, esi
call fcn.0048bc10
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.0048b2b0
jmp 0x486a17
mov eax, dword [ebx + 4]
mov ecx, dword [esp]
test eax, 0x400000
jne 0x487e51
test eax, 0x280000
je 0x487dd4
mov edx, esi
push ebx
call fcn.004895d0
mov ecx, dword [esp + 4]
add esp, 4
cmp dword [esp + 4], 0
mov dword [esp + 0x10], ebx
jle 0x487ef1
mov eax, dword [esp + 0x18]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], 0
lea edx, [eax + 4]
jmp 0x487e02
inc ebx
add edx, 0x10
cmp dword [esp + 4], ebx
je 0x487e71
cmp ebx, 0x1f
ja 0x487e2f
mov ecx, dword [edx]
mov dword [esp + 0x14], edx
mov edx, 1
push 0
call fcn.0048cfb0
add esp, 4
test eax, eax
je 0x487e2b
mov eax, dword [esp + 0x1c]
bts eax, ebx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
test edi, edi
jne 0x487df8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
and eax, 0x20
je 0x487df8
mov edi, edx
mov edx, dword [edx]
mov ecx, dword [esp]
call fcn.0046dea0
mov edx, edi
mov edi, eax
jmp 0x487df8
mov edx, dword [esp + 0x18]
push dword [ebp + 8]
push dword [ebx + 8]
call fcn.00489240
add esp, 8
mov ebx, eax
jmp 0x486972
not ebx
jmp 0x486972
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], edi
je 0x487f2d
cmp dword [esp + 0x1c], 0
je 0x487f37
mov ecx, dword [esp]
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 4]
mov dword [esp + 0x14], edx
mov dword [ecx + 0x2c], eax
jmp 0x487f4f
cmp byte [edi + esi*4 + 0xd], 0x45
mov eax, ebx
jne 0x487f26
mov esi, dword [esp + 8]
mov edx, 0x4e
mov ecx, esi
push 0
mov ebx, dword [ebp + 8]
push ebx
push eax
call fcn.0046c5a0
add esp, 0xc
mov ecx, esi
mov edx, 0x53
push 0
push 0
jmp 0x487038
push dword [edx]
push str.generated_column_loop_on___s_
push dword [esp + 8]
call fcn.0042af90
add esp, 0xc
xor ebx, ebx
jmp 0x486972
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
jne 0x487f3a
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
test byte [eax + 4], 0x20
jne 0x487fda
jmp 0x488014
mov ebx, eax
jmp 0x486972
mov dword [esp + 0x14], 0
jmp 0x487f83
mov ecx, dword [esp]
mov edx, dword [esp + 4]
call fcn.00489600
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x487f70
mov ecx, dword [edx + 4]
mov bl, byte [ecx]
or bl, 2
cmp bl, 0xa6
jne 0x487f70
and al, 0xc0
mov byte [ecx + 2], al
mov ecx, dword [esp]
push 3
push 0
push dword [esp + 0x1c]
call fcn.00489650
add esp, 0xc
mov eax, dword [esp + 4]
cmp eax, 2
jl 0x487f9b
cmp byte [esi + 4], 0
jns 0x487fa0
mov ebx, dword [esp + 0x18]
add ebx, 0x14
jmp 0x487fa7
cmp eax, 1
jne 0x487fbf
mov ebx, dword [esp + 0x18]
add ebx, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push dword [ebx]
push eax
call fcn.00489900
add esp, 8
mov ebx, dword [ebp + 8]
jmp 0x487fc6
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
test byte [eax + 4], 0x20
mov ecx, dword [esp]
mov dword [esp + 0x10], eax
je 0x488014
cmp dword [esp + 0x28], 0
jne 0x487fe5
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 8]
mov edx, 0x51
mov ecx, edi
push 0
push 0
push 0
call fcn.0046c5a0
add esp, 0xc
mov ecx, edi
mov edx, eax
push 0xfffffffffffffffe
push dword [esp + 0x2c]
call fcn.0042b420
mov ecx, dword [esp + 8]
add esp, 8
mov edi, dword [esp + 0x1c]
movzx eax, byte [esi + 2]
mov edx, edi
push eax
push dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push esi
push ebx
push dword [esp + 0x24]
call fcn.00489a60
add esp, 0x14
test esi, esi
je 0x486972
test edi, edi
jne 0x486972
cmp esi, 1
mov eax, esi
jne 0x48807c
cmp dword [esp + 0x14], 0
je 0x4880a1
mov eax, dword [esp]
movzx eax, byte [eax + 0x13]
cmp eax, 7
ja 0x4880a1
mov edx, dword [esp]
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov ecx, eax
inc cl
mov byte [edx + 0x13], cl
mov dword [edx + eax*4 + 0x94], esi
jmp 0x486972
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp dword [eax + 0x1c], ecx
jge 0x4880a1
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
jmp 0x486972
mov ebx, dword [ebp + 8]
jmp 0x486972