Function at 0x4b5090
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push esi
push edi
mov edi, dword [ecx + 8]
mov esi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 0
test esi, esi
je case.0x4b50eb.21
movzx edx, byte [esi]
mov dword [esp + 0x24], edx
lea eax, [edx - 0x13]
cmp eax, 0xa2
ja case.0x4b50eb.21
movzx eax, byte [eax + 0x4b6e34]
jmp dword [eax*4 + 0x4b6dbc]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
jmp 0x4b50c7
mov edx, dword [esi + 0x28]
movsx eax, word [esi + 0x22]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [edx + 0x1c]
lea eax, [eax + eax*4]
mov dword [esp + 0x44], edx
cmp byte [ecx], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
jne 0x4b512a
mov eax, dword [edx + eax*4 + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x28]
cmp byte [edi + 1], 0
mov edi, dword [esp + 0x3c]
je case.0x4b50eb.167
mov ecx, dword [edx + eax*4]
movsx esi, word [edx + eax*4 + 0x12]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0x74]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], ecx
jg 0x4b5174
mov edx, dword [ebp + 8]
mov ecx, edi
push edx
push esi
push eax
mov edx, 0x5d
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b51a2
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
movzx eax, word [ecx + eax*4 + 0x10]
test ax, ax
js 0x4b6db2
movsx ecx, ax
mov eax, dword [esp + 0x28]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4b6db2
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b51f4
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00497c60
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
jmp 0x4b6da2
test byte [esi + 4], 8
mov edx, dword [esi + 0x1c]
je 0x4b5339
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xc]
call fcn.004b5090
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4b5268
movsx ecx, word [esi + 0x20]
test ecx, ecx
js 0x4b5260
movsx eax, word [edx + 0x22]
cmp ecx, eax
jge 0x4b5260
mov eax, dword [edx + 4]
add ecx, ecx
mov al, byte [eax + ecx*8 + 8]
mov ecx, dword [esp + 0x10]
jmp 0x4b526b
mov ecx, dword [esp + 0x10]
mov al, 0x44
jmp 0x4b526b
mov al, byte [esi + 1]
movsx eax, al
cmp eax, 0x41
jle 0x4b532f
mov edx, dword [edi + 0x74]
lea esi, [eax*2 + 0x597bf0]
cmp dword [edi + 0x78], edx
jg 0x4b529e
push 0
push 1
push ecx
mov edx, 0x5f
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b52d5
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b52f3
push esi
or edx, 0xffffffff
call fcn.00498770
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b52fb
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b5324
push 0xffffffffffffffff
push esi
mov edx, eax
mov ecx, edi
call fcn.004989c0
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4b532f
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b544c
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x4b5449
movzx edx, word [esi + 0x20]
mov eax, dword [esi + 0x2c]
movsx esi, dx
mov dword [esp + 0x20], eax
test esi, esi
jns 0x4b536c
not ecx
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
shl esi, 4
mov ecx, eax
add esi, dword [eax + 4]
call fcn.004c2660
movzx ecx, word [esi + 0xe]
cwde
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test cl, 0x60
je 0x4b53e2
test ecx, 0x100
je 0x4b53af
push dword [esi]
mov ecx, dword [esp + 0x10]
push str.generated_column_loop_on___s_
push ecx
call fcn.004769e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or ecx, 0x100
mov word [esi + 0xe], cx
test cl, cl
jns 0x4b53d3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
push esi
call fcn.004b4690
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, 0xfe7f
and word [esi + 0xe], cx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0x45
jne 0x4b6db5
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b5412
mov edx, dword [ebp + 8]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x50
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b51cf
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b51cf
lea edx, [ecx - 1]
mov al, byte [esi + 2]
mov ecx, edi
push dword [ebp + 8]
mov byte [esp + 0x23], al
movsx eax, word [esi + 0x20]
push eax
push edx
mov edx, dword [esi + 0x2c]
call fcn.004b4850
add esp, 0xc
cmp byte [esp + 0x1f], 0
je 0x4b54a1
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 0x74]
dec ecx
cmp byte [eax + 0x57], 0
je 0x4b548a
mov ecx, 0x5d4b70
jmp 0x4b5493
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x4b54a1
movzx eax, byte [esp + 0x1f]
mov word [ecx + 2], ax
cmp dword [esi + 0x2c], 0
jne 0x4b6db2
cmp byte [esi + 1], 0x45
jne 0x4b6db2
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b54c9
push 0
push 0
push dword [ebp + 8]
jmp 0x4b51dc
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
jmp 0x4b6da2
mov edi, dword [ebp + 8]
mov edx, esi
push edi
push 0
call fcn.004b4460
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je 0x4b5520
mov esi, dword [esi + 0xc]
test esi, esi
jne case.0x4b50eb.170
mov eax, dword [esi + 8]
xor edx, edx
mov ecx, dword [edi + 0x74]
cmp byte [eax + 4], dl
sete dl
cmp dword [edi + 0x78], ecx
jg 0x4b5551
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x47
call fcn.00497c60
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
jmp 0x4b6d9b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b6db2
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b5580
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.00476c70
mov ecx, dword [edi]
push 0
push 8
call fcn.004737f0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4b55bc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
push 0xfffffffffffffff3
push edx
push 0
push dword [ebp + 8]
mov edx, 0x99
mov ecx, edi
push 0
call fcn.00498000
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00497d80
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
add edx, 2
jne 0x4b5603
xor esi, esi
jmp 0x4b5617
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b5608
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [edi]
dec esi
push esi
call fcn.00477c00
mov dword [esp + 0x14], eax
add esp, 4
mov eax, esi
mov esi, dword [edi + 0x74]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
cmp dword [edi + 0x78], esi
jg 0x4b5651
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4c
call fcn.00497c60
add esp, 0xc
mov esi, eax
jmp 0x4b567f
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b56a2
mov edx, dword [esp + 0x10]
push edx
mov edx, 0xfffffff9
call fcn.00498770
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x4b56aa
mov esi, dword [edi + 0x74]
dec esi
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x10]
je 0x4b56d6
push 0xfffffffffffffff9
push edx
mov edx, eax
mov ecx, edi
call fcn.004989c0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x4b6db2
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf9
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x74]
movsx edx, word [esi + 0x20]
cmp dword [edi + 0x78], ecx
jg 0x4b5711
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4d
call fcn.00497c60
add esp, 0xc
jmp 0x4b5743
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 8]
cmp byte [eax + 1], 0
je 0x4b6db2
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x4b5762
xor esi, esi
jmp 0x4b578f
movsx ecx, word [esi + 0x20]
mov eax, 2
mov esi, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
lea ecx, [edx + eax*4]
cmp dword [ecx], edi
mov edi, dword [esp + 0x3c]
je 0x4b578c
add eax, dword [ecx + 4]
cmp eax, esi
jl 0x4b5772
xor esi, esi
jmp 0x4b578f
lea esi, [ecx + 8]
mov dword [edx], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b57b2
push esi
or edx, 0xffffffff
call fcn.00498770
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xff
mov dword [eax + ecx*4 - 4], esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
call fcn.004b5090
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edx
je 0x4b5846
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b580f
push 0
push edx
push eax
mov edx, 0x50
mov ecx, edi
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b5842
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.004c3840
mov ecx, dword [edi + 0x74]
movsx esi, al
cmp dword [edi + 0x78], ecx
jg 0x4b587a
push 0
push esi
push dword [ebp + 8]
mov edx, 0x57
mov ecx, edi
call fcn.00497c60
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x57
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 [esp + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x28], 0x80
cmp edx, 0x2d
sete al
lea edx, [eax + 0x34]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov cl, byte [eax]
mov byte [esp + 0x1f], cl
cmp cl, 0xb0
mov ecx, dword [esp + 0xc]
jne 0x4b58ea
mov dl, byte [eax + 2]
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x1f], 0xb1
jne 0x4b58fe
mov edi, dword [eax + 0x14]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
jmp 0x4b5913
cmp byte [esp + 0x1f], 0x8a
jne 0x4b5937
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
mov esi, dword [esp + 0x30]
jle 0x4b5937
push dword [esp + 0x28]
push edx
push dword [ebp + 8]
mov edx, esi
call fcn.004aee60
add esp, 0xc
jmp 0x4b6d12
lea edx, [esp + 0x2c]
push edx
mov edx, eax
call fcn.004b70f0
mov edx, dword [esi + 0x10]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.004b70f0
mov ecx, dword [edi + 0x74]
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [edi + 0x78], ecx
jg 0x4b5982
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00497c60
add esp, 0xc
jmp 0x4b59b4
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
shr eax, 9
and eax, 1
push eax
push dword [esp + 0x2c]
mov eax, dword [edi + 0x74]
add eax, 2
push eax
push dword [esp + 0x2c]
push dword [esp + 0x20]
push edx
push dword [esi + 0x10]
mov edx, dword [esp + 0x50]
call fcn.004aeb00
mov ecx, dword [edi + 0x74]
add esp, 0x1c
cmp dword [esp + 0x28], 0x80
mov eax, dword [edi + 0x78]
jne 0x4b5a3f
cmp eax, ecx
jg 0x4b5a18
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
jmp 0x4b66ef
cmp eax, ecx
jg 0x4b5a62
push dword [esp + 0x20]
mov edx, 0x5b
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b70f0
mov edx, dword [esi + 0x10]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.004b70f0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
cmp dword [edi + 0x78], ecx
jg 0x4b5aeb
push dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
mov edx, dword [esp + 0x2c]
push esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
mov eax, dword [esi + 0xc]
mov dl, byte [eax]
cmp dl, 0x9b
jne 0x4b5b50
mov esi, dword [ebp + 8]
mov edx, eax
push esi
push 1
call fcn.004b4460
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dl, 0x99
jne 0x4b5be1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b6db2
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b5b70
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.00476c70
movsd xmm0, qword [esp + 0x18]
xorps xmm0, xmmword [0x5af8d0]
mov ecx, dword [edi]
push 0
push 8
movsd qword [esp + 0x20], xmm0
call fcn.004737f0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4b5bbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
push 0xfffffffffffffff3
push edx
push 0
push dword [ebp + 8]
mov edx, 0x99
mov ecx, edi
push 0
call fcn.00498000
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x2c]
mov byte [esp + 0x7c], 0x9b
push eax
lea edx, [esp + 0x80]
mov dword [esp + 0x84], 0x4400
mov dword [esp + 0x88], 0
call fcn.004b70f0
mov edx, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.004b70f0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x78], ecx
jg 0x4b5c4f
push dword [ebp + 8]
mov ecx, edi
push edx
push esi
mov edx, 0x6b
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b70f0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x24]
cmp dword [edi + 0x78], ecx
jg 0x4b5cb5
push 0
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4b5b14
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b70f0
mov edx, eax
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b5d10
nop dword [eax + eax]
test dword [eax + 4], 0x1000
je 0x4b5d10
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b5d00
mov eax, dword [eax + 8]
xor ecx, ecx
mov al, byte [eax + 4]
test al, al
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp byte [esi + 2], 0x2d
mov esi, dword [edi + 0x74]
sete cl
mov dword [esp + 0x20], ecx
xor ecx, ecx
test al, al
setne cl
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x78], esi
jg 0x4b5d59
push ecx
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x5a
call fcn.00497c60
add esp, 0xc
mov esi, eax
jmp 0x4b5d87
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [ebp + 8]
cmp byte [eax + 0x57], 0
jne 0x4b5a94
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x20]
xor esi, dword [esp + 0x28]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b5dd6
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00497c60
add esp, 0xc
jmp 0x4b5e08
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b70f0
mov esi, dword [edi + 0x74]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], esi
jg 0x4b5e3f
push 0
push 0
push eax
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov esi, eax
jmp 0x4b5e7a
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b5e9d
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b5ecf
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
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 [edi]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x57], 0
je 0x4b5eef
mov eax, 0x5d4b70
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
lea eax, [ecx - 1]
test esi, esi
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4b5f38
movzx edx, word [esi + 0x22]
test dx, dx
js 0x4b5f38
movsx edx, dx
cmp edx, dword [eax + 0x2c]
jge 0x4b5f38
mov eax, dword [eax + 0x28]
lea ecx, [edx + edx*4]
mov eax, dword [eax + ecx*4 + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push str.misuse_of_aggregate:__T__
push ecx
call fcn.004769e0
add esp, 0xc
jmp 0x4b6d12
test dword [esi + 4], 0x1000000
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov al, byte [eax + 0x54]
mov byte [esp + 0x38], al
je 0x4b5f7e
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x38]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 0x17], 0
je 0x4b5fcf
mov eax, 2
mov dword [esp + 0x4c], fcn.004b1500
mov edx, esi
mov word [esp + 0x5c], ax
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], 0x4b13e0
mov dword [esp + 0x60], 0
call fcn.004ab710
cmp word [esp + 0x5c], 0
je 0x4b5fcf
mov ecx, dword [esp + 0xc]
mov edx, esi
push 0xffffffffffffffff
call fcn.004b6ee0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4b5fde
mov eax, dword [eax]
jmp 0x4b5fe0
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x20]
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x30], eax
push eax
call fcn.004cb080
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
je 0x4b63ad
cmp dword [eax + 0x14], 0
jne 0x4b63ad
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x4b6037
push dword [ebp + 8]
mov edx, dword [esp + 0x44]
push dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.004b4d00
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, 0x280000
je 0x4b6075
test dword [esi + 4], 0x40000000
je 0x4b6075
test ecx, 0x80000
jne 0x4b6063
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
jne 0x4b6075
push esi
push str.unsafe_use_of__T__
push dword [esp + 0x14]
call fcn.004769e0
add esp, 0xc
mov edx, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
test edx, edx
jle 0x4b6139
mov edi, dword [esp + 0xc]
add ecx, 8
mov dword [esp + 0x44], ecx
xor esi, esi
mov dword [esp + 0x10], ecx
nop dword [eax]
cmp eax, 0x20
jae 0x4b60e5
mov edx, dword [ecx]
mov ecx, 1
mov word [esp + 0x5c], cx
mov dword [esp + 0x4c], fcn.004b1500
mov dword [esp + 0x50], 0x4b13e0
mov dword [esp + 0x60], 0
test edx, edx
je 0x4b60e2
lea ecx, [esp + 0x48]
call fcn.004ab710
cmp word [esp + 0x5c], 0
mov eax, dword [esp + 0x2c]
je 0x4b60e5
bts esi, eax
mov ecx, dword [esp + 0x38]
test byte [ecx + 4], 0x20
je 0x4b610b
cmp dword [esp + 0x34], 0
jne 0x4b610b
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edx]
call fcn.004ae8a0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
inc eax
mov edx, dword [esp + 0x28]
add ecx, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
cmp eax, edx
jl 0x4b60a0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
jmp 0x4b6140
lea eax, [ecx + 8]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4b621a
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
je 0x4b6168
mov eax, dword [ecx + 0x2c]
lea edi, [eax + 1]
add eax, edx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x3c]
mov dword [ecx + 0x2c], eax
jmp 0x4b61d6
cmp edx, 1
jne 0x4b61a3
mov al, byte [ecx + 0x13]
test al, al
jne 0x4b6187
inc dword [ecx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x2c]
add edx, 8
mov dword [esp + 0x24], eax
jmp 0x4b61da
mov edx, dword [esp + 0x40]
dec al
mov byte [ecx + 0x13], al
add edx, 8
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x98]
mov dword [esp + 0x24], eax
jmp 0x4b61da
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], eax
cmp edx, esi
jg 0x4b61bf
add eax, edx
mov dword [ecx + 0x20], eax
mov eax, esi
sub eax, edx
mov dword [ecx + 0x1c], eax
jmp 0x4b61d2
mov eax, dword [ecx + 0x2c]
lea edi, [eax + 1]
add eax, edx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x3c]
mov dword [ecx + 0x2c], eax
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x4b6200
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov dl, byte [edx]
cmp dl, 0xa7
je 0x4b61f7
cmp dl, 0xa9
jne 0x4b6200
mov edx, dword [esp + 0x2c]
and al, 0xc0
mov byte [edx + 2], al
mov edx, dword [esp + 0x40]
push 3
push 0
push dword [esp + 0x2c]
call fcn.004b72a0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4b6222
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4b624b
test byte [esi + 4], 0x80
je 0x4b624f
push dword [ecx + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004fba70
add esp, 8
mov dword [esp + 0x38], eax
jmp 0x4b625b
test eax, eax
jle 0x4b6257
mov ecx, dword [esp + 0x44]
push dword [ecx]
jmp 0x4b6234
mov eax, dword [esp + 0x38]
test byte [eax + 4], 0x20
je 0x4b6325
cmp dword [esp + 0x34], 0
jne 0x4b6277
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4b6298
push 0
push 0
push 0
mov edx, 0x54
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b62cf
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x54
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 [edi]
cmp byte [ecx + 0x57], 0
je 0x4b62ea
push dword [esp + 0x34]
mov edx, 0xfffffffe
call fcn.00498770
add esp, 4
jmp 0x4b6325
test edx, edx
jns 0x4b62f2
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4b6316
push 0xfffffffffffffffe
push dword [esp + 0x38]
mov edx, ecx
mov ecx, edi
call fcn.004989c0
add esp, 8
jmp 0x4b6325
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b6325
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfe
movzx eax, byte [esi + 2]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esp + 0x10]
push eax
push dword [esp + 0x3c]
push edi
push dword [ebp + 8]
push dword [esp + 0x34]
call fcn.00498100
add esp, 0x14
test edi, edi
je 0x4b6db2
cmp dword [esp + 0x10], 0
jne 0x4b6db2
cmp edi, 1
jne 0x4b6391
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4b6db2
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4b6db2
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x1c]
jle 0x4b6db2
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push str.unknown_function:__T__
push dword [esp + 0x14]
call fcn.004769e0
add esp, 0xc
jmp 0x4b6d12
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
jne 0x4b53a7
cmp edx, 0x8a
jne 0x4b640e
test dword [esi + 4], 0x800
je 0x4b640e
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4b640e
cmp dword [ecx + 0x24], 0
jne 0x4b6d16
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push ecx
call fcn.004769e0
add esp, 0x10
jmp 0x4b6d12
mov edx, esi
call fcn.004b2f30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4b6435
call fcn.004b2f30
mov ecx, eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0xb0
jne 0x4b6441
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4b644c
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
jmp 0x4b645f
cmp al, 0x8a
jne 0x4b645a
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4b645f
mov eax, 1
mov edx, dword [esi + 0x1c]
cmp edx, eax
je 0x4b6476
push eax
push edx
push str._d_columns_assigned__d_values
push ecx
call fcn.004769e0
add esp, 0x10
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x10], eax
dec eax
mov dword [ecx + 0x38], eax
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x78], ecx
jg 0x4b64b8
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b64ea
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
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
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, esi
push dword [esp + 0x14]
call fcn.004b3630
mov ecx, dword [edi + 0x74]
add esp, 8
mov esi, dword [ebp + 8]
cmp dword [edi + 0x78], ecx
jg 0x4b6521
push 0
push esi
push 1
mov edx, 0x47
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4b6550
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b656e
push edx
mov edx, edi
call fcn.00498480
add esp, 4
jmp 0x4b6577
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6595
push 0
push 0
push esi
mov edx, 0x55
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4b65c4
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b65e9
push edx
mov edx, edi
call fcn.00498480
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov edx, esi
push 0
push 0
push edi
call fcn.004b74a0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx edx, word [esi + 0x20]
mov ecx, dword [esi + 0x2c]
movsx eax, dx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
call fcn.004c2660
movsx ecx, ax
mov eax, dword [esp + 0x10]
inc ecx
movsx edx, word [eax + 0x22]
inc edx
imul edx, dword [esi + 0x1c]
add edx, ecx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6661
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x9c
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b668f
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x9c
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 + 0x20]
test ecx, ecx
js 0x4b5a94
mov eax, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4b5a94
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b66d0
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4b6d12
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
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 + 0xc]
jmp 0x4b6d19
push str.row_value_misused
push ecx
call fcn.004769e0
add esp, 8
jmp 0x4b6d12
mov al, byte [ecx + 0x17]
mov ecx, dword [edi + 0x74]
mov edx, dword [esi + 0x1c]
mov byte [esp + 0x1f], al
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x78], ecx
jg 0x4b674b
push 0
push 0
push edx
mov edx, 0x16
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4b677e
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x16
mov dword [eax + ecx*4 + 4], edx
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 + 0xc]
mov ecx, eax
mov edx, dword [ebp + 8]
push edx
mov byte [eax + 0x17], 0
mov edx, dword [esi + 0xc]
call fcn.004b5090
mov cl, byte [esp + 0x23]
mov edx, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov esi, dword [esp + 0x10]
mov byte [eax + 0x17], cl
mov ecx, dword [edi]
mov eax, dword [edi + 0x74]
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
je 0x4b67be
mov eax, 0x5d4b70
jmp 0x4b67cd
dec eax
test esi, esi
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
test esi, esi
jns 0x4b67dc
mov esi, dword [edi + 0x74]
dec esi
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4b67f5
mov ecx, dword [esp + 0xc]
mov eax, 0x5d4b70
mov dword [eax + 0xc], edx
jmp 0x4b6d19
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 0xc], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
jmp 0x4b6d19
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
lea edx, [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x30], edx
mov dword [ecx + 0x38], eax
mov esi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4b6910
mov ecx, dword [esp + 0x34]
mov edx, esi
push 0
push 0
call fcn.004b0350
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
je 0x4b687d
test eax, eax
je 0x4b6d12
mov edx, eax
call fcn.004b0060
jmp 0x4b6d12
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004b4b90
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
je 0x4b68da
nop
mov edx, dword [ecx + 4]
test edx, 0x41000
je 0x4b68c4
test edx, 0x40000
je 0x4b68bb
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x4b68be
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4b68a0
jmp 0x4b68da
mov al, byte [ecx]
and dword [ecx + 4], 0xffffefff
mov byte [ecx + 2], al
mov eax, dword [esp + 0x10]
mov byte [ecx], 0xb0
mov dword [ecx + 0x1c], eax
push 0x34
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.005515a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov byte [esp + 0x48], 0x35
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
dec eax
test eax, eax
jle 0x4b6ac4
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x4b6a02
jmp 0x4b6932
mov ecx, esi
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x38]
dec eax
push 0x10
push eax
push dword [esp + 0x48]
mov dword [esp + 0x30], eax
push ecx
mov dword [ecx + 0x38], eax
call fcn.004b7b40
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004b71f0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4b6989
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b69bc
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 [edi + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b69da
push edx
mov edx, edi
call fcn.00498480
add esp, 4
jmp 0x4b69e3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x30]
add edx, 0x28
sub dword [esp + 0x10], 1
mov dword [esp + 0x30], edx
jne 0x4b6930
jmp 0x4b6ac8
mov ecx, esi
mov eax, dword [edx]
mov edx, dword [ecx + 0x38]
dec edx
push 0x10
push edx
push eax
push ecx
mov dword [esp + 0x50], edx
mov dword [ecx + 0x38], edx
call fcn.004b7b40
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004b71f0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4b6a52
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b6a85
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 [edi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b6aa3
push edx
mov edx, edi
call fcn.00498480
add esp, 4
jmp 0x4b6aac
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x30]
add edx, 0x28
sub dword [esp + 0x10], 1
mov dword [esp + 0x30], edx
jne 0x4b6a00
jmp 0x4b6ac8
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
test al, 1
je 0x4b6aea
push dword [ebp + 8]
lea edx, [eax + eax*4]
mov ecx, esi
mov eax, dword [esp + 0x40]
mov edx, dword [eax + edx*4 - 0xc]
call fcn.004b71f0
add esp, 4
jmp 0x4b6b3c
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6b0a
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b6b3c
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
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 + 0x20]
test eax, eax
je 0x4b6b4f
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.004b0060
mov edx, dword [edi + 0x74]
mov eax, dword [edi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4b6b67
mov eax, 0x5d4b70
jmp 0x4b6b6f
mov eax, dword [edi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4f
jne 0x4b6b85
test edx, edx
jle 0x4b6b85
mov eax, dword [edi + 0x70]
mov edx, 1
mov word [ecx + eax - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b6ba6
push edx
mov edx, edi
call fcn.00498480
add esp, 4
jmp 0x4b6d12
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4b6d12
cmp dword [ecx + 0x78], 0
jne 0x4b6bd6
cmp byte [ecx + 0x12], 0
jne 0x4b6bd6
push str.RAISE___may_only_be_used_within_a_trigger_program
push ecx
call fcn.004769e0
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x4b6bec
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0xc]
mov al, byte [esi + 1]
mov esi, dword [esi + 8]
mov dword [esp + 0x10], esi
cmp al, 4
jne 0x4b6c91
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4b6c1f
push 0
push 4
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b6c56
mov esi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 4
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b6c6e
push esi
xor edx, edx
call fcn.00498770
add esp, 4
jmp 0x4b6d12
test edx, edx
jns 0x4b6c76
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
push 0
push esi
lea edx, [eax + ecx*4]
mov ecx, edi
call fcn.004989c0
add esp, 8
jmp 0x4b6d12
cmp dword [ecx + 0x78], 0
mov edi, 1
mov esi, dword [ecx + 8]
mov edx, 0x713
movsx eax, al
cmovne edi, edx
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4b6cd0
cmp dword [ecx + 0x74], esi
jne 0x4b6cc1
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4b6cc1
mov byte [ecx + 0x17], 1
call fcn.00497a10
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4b6ce5
mov ecx, dword [ecx + 0x74]
test ecx, ecx
mov edx, dword [esp + 0xc]
cmovne edx, ecx
mov byte [edx + 0x15], 1
push 0
push dword [esp + 0x14]
mov edx, 0x46
mov ecx, esi
push 0
push eax
push edi
call fcn.00498000
mov eax, dword [esi + 0x74]
add esp, 0x14
test eax, eax
jle 0x4b6d12
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b6d35
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4b6d35
movzx eax, al
mov dword [ecx + eax*4 + 0x98], esi
inc byte [ecx + 0x13]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b6d51
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4b6d51
movzx eax, al
mov dword [ecx + eax*4 + 0x98], esi
inc byte [ecx + 0x13]
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6d80
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00497c60
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret