Function at 0x4b6480
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.0x4b64db.21
movzx edx, byte [esi]
mov dword [esp + 0x24], edx
lea eax, [edx - 0x13]
cmp eax, 0xa2
ja case.0x4b64db.21
movzx eax, byte [eax + 0x4b8224]
jmp dword [eax*4 + 0x4b81ac]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
jmp 0x4b64b7
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 0x4b651a
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.0x4b64db.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 0x4b6564
mov edx, dword [ebp + 8]
mov ecx, edi
push edx
push esi
push eax
mov edx, 0x5d
call fcn.00499040
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b6592
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 0x4b81a2
movsx ecx, ax
mov eax, dword [esp + 0x28]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4b81a2
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b65e4
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00499040
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 0x4b8192
test byte [esi + 4], 8
mov edx, dword [esi + 0x1c]
je 0x4b6729
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xc]
call fcn.004b6480
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4b6658
movsx ecx, word [esi + 0x20]
test ecx, ecx
js 0x4b6650
movsx eax, word [edx + 0x22]
cmp ecx, eax
jge 0x4b6650
mov eax, dword [edx + 4]
add ecx, ecx
mov al, byte [eax + ecx*8 + 8]
mov ecx, dword [esp + 0x10]
jmp 0x4b665b
mov ecx, dword [esp + 0x10]
mov al, 0x44
jmp 0x4b665b
mov al, byte [esi + 1]
movsx eax, al
cmp eax, 0x41
jle 0x4b671f
mov edx, dword [edi + 0x74]
lea esi, [eax*2 + 0x598fa0]
cmp dword [edi + 0x78], edx
jg 0x4b668e
push 0
push 1
push ecx
mov edx, 0x5f
mov ecx, edi
call fcn.00499040
add esp, 0xc
mov edx, eax
jmp 0x4b66c5
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 0x4b66e3
push esi
or edx, 0xffffffff
call fcn.00499b50
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b66eb
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 0x4b6714
push 0xffffffffffffffff
push esi
mov edx, eax
mov ecx, edi
call fcn.00499da0
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4b671f
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 0x4b683c
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x4b6839
movzx edx, word [esi + 0x20]
mov eax, dword [esi + 0x2c]
movsx esi, dx
mov dword [esp + 0x20], eax
test esi, esi
jns 0x4b675c
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.004c3a40
movzx ecx, word [esi + 0xe]
cwde
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test cl, 0x60
je 0x4b67d2
test ecx, 0x100
je 0x4b679f
push dword [esi]
mov ecx, dword [esp + 0x10]
push str.generated_column_loop_on___s_
push ecx
call fcn.00477d90
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 0x4b67c3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
push esi
call fcn.004b5a80
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 0x4b81a5
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6802
mov edx, dword [ebp + 8]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x50
call fcn.00499040
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b65bf
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 0x4b65bf
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.004b5c40
add esp, 0xc
cmp byte [esp + 0x1f], 0
je 0x4b6891
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 0x4b687a
mov ecx, 0x5d5a30
jmp 0x4b6883
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x4b6891
movzx eax, byte [esp + 0x1f]
mov word [ecx + 2], ax
cmp dword [esi + 0x2c], 0
jne 0x4b81a2
cmp byte [esi + 1], 0x45
jne 0x4b81a2
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b68b9
push 0
push 0
push dword [ebp + 8]
jmp 0x4b65cc
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 0x4b8192
mov edi, dword [ebp + 8]
mov edx, esi
push edi
push 0
call fcn.004b5850
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je 0x4b6910
mov esi, dword [esi + 0xc]
test esi, esi
jne case.0x4b64db.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 0x4b6941
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x47
call fcn.00499040
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 0x4b818b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b81a2
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b6970
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.00478020
mov ecx, dword [edi]
push 0
push 8
call fcn.00474ba0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4b69ac
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.004993e0
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.00499160
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 0x4b69f3
xor esi, esi
jmp 0x4b6a07
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b69f8
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [edi]
dec esi
push esi
call fcn.00478fb0
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 0x4b6a41
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4c
call fcn.00499040
add esp, 0xc
mov esi, eax
jmp 0x4b6a6f
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 0x4b6a92
mov edx, dword [esp + 0x10]
push edx
mov edx, 0xfffffff9
call fcn.00499b50
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x4b6a9a
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 0x4b6ac6
push 0xfffffffffffffff9
push edx
mov edx, eax
mov ecx, edi
call fcn.00499da0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x4b81a2
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 0x4b6b01
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4d
call fcn.00499040
add esp, 0xc
jmp 0x4b6b33
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 0x4b81a2
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x4b6b52
xor esi, esi
jmp 0x4b6b7f
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 0x4b6b7c
add eax, dword [ecx + 4]
cmp eax, esi
jl 0x4b6b62
xor esi, esi
jmp 0x4b6b7f
lea esi, [ecx + 8]
mov dword [edx], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b6ba2
push esi
or edx, 0xffffffff
call fcn.00499b50
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.004b6480
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edx
je 0x4b6c36
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b6bff
push 0
push edx
push eax
mov edx, 0x50
mov ecx, edi
call fcn.00499040
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b6c32
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.004c4c20
mov ecx, dword [edi + 0x74]
movsx esi, al
cmp dword [edi + 0x78], ecx
jg 0x4b6c6a
push 0
push esi
push dword [ebp + 8]
mov edx, 0x57
mov ecx, edi
call fcn.00499040
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 0x4b6cda
mov dl, byte [eax + 2]
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x1f], 0xb1
jne 0x4b6cee
mov edi, dword [eax + 0x14]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
jmp 0x4b6d03
cmp byte [esp + 0x1f], 0x8a
jne 0x4b6d27
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 0x4b6d27
push dword [esp + 0x28]
push edx
push dword [ebp + 8]
mov edx, esi
call fcn.004b0250
add esp, 0xc
jmp 0x4b8102
lea edx, [esp + 0x2c]
push edx
mov edx, eax
call fcn.004b84e0
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.004b84e0
mov ecx, dword [edi + 0x74]
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [edi + 0x78], ecx
jg 0x4b6d72
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00499040
add esp, 0xc
jmp 0x4b6da4
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.004afef0
mov ecx, dword [edi + 0x74]
add esp, 0x1c
cmp dword [esp + 0x28], 0x80
mov eax, dword [edi + 0x78]
jne 0x4b6e2f
cmp eax, ecx
jg 0x4b6e08
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b7adf
cmp eax, ecx
jg 0x4b6e52
push dword [esp + 0x20]
mov edx, 0x5b
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b8109
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b84e0
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.004b84e0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
cmp dword [edi + 0x78], ecx
jg 0x4b6edb
push dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
mov edx, dword [esp + 0x2c]
push esi
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b8109
mov eax, dword [esi + 0xc]
mov dl, byte [eax]
cmp dl, 0x9b
jne 0x4b6f40
mov esi, dword [ebp + 8]
mov edx, eax
push esi
push 1
call fcn.004b5850
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dl, 0x99
jne 0x4b6fd1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b81a2
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b6f60
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.00478020
movsd xmm0, qword [esp + 0x18]
xorps xmm0, xmmword [0x5b0b60]
mov ecx, dword [edi]
push 0
push 8
movsd qword [esp + 0x20], xmm0
call fcn.00474ba0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4b6faf
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.004993e0
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.004b84e0
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.004b84e0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x78], ecx
jg 0x4b703f
push dword [ebp + 8]
mov ecx, edi
push edx
push esi
mov edx, 0x6b
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b8109
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b84e0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x24]
cmp dword [edi + 0x78], ecx
jg 0x4b70a5
push 0
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b6f04
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004b84e0
mov edx, eax
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b7100
nop dword [eax + eax]
test dword [eax + 4], 0x1000
je 0x4b7100
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b70f0
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 0x4b7149
push ecx
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x5a
call fcn.00499040
add esp, 0xc
mov esi, eax
jmp 0x4b7177
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 0x4b6e84
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 0x4b8109
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b71c6
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00499040
add esp, 0xc
jmp 0x4b71f8
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.004b84e0
mov esi, dword [edi + 0x74]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], esi
jg 0x4b722f
push 0
push 0
push eax
mov ecx, edi
call fcn.00499040
add esp, 0xc
mov esi, eax
jmp 0x4b726a
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 0x4b728d
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00499040
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b72bf
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 0x4b72df
mov eax, 0x5d5a30
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
jmp 0x4b8109
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 0x4b8109
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4b7328
movzx edx, word [esi + 0x22]
test dx, dx
js 0x4b7328
movsx edx, dx
cmp edx, dword [eax + 0x2c]
jge 0x4b7328
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.00477d90
add esp, 0xc
jmp 0x4b8102
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 0x4b736e
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 0x4b73bf
mov eax, 2
mov dword [esp + 0x4c], fcn.004b28f0
mov edx, esi
mov word [esp + 0x5c], ax
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], 0x4b27d0
mov dword [esp + 0x60], 0
call fcn.004acb00
cmp word [esp + 0x5c], 0
je 0x4b73bf
mov ecx, dword [esp + 0xc]
mov edx, esi
push 0xffffffffffffffff
call fcn.004b82d0
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 0x4b73ce
mov eax, dword [eax]
jmp 0x4b73d0
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.004cc460
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
je 0x4b779d
cmp dword [eax + 0x14], 0
jne 0x4b779d
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x4b7427
push dword [ebp + 8]
mov edx, dword [esp + 0x44]
push dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.004b60f0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, 0x280000
je 0x4b7465
test dword [esi + 4], 0x40000000
je 0x4b7465
test ecx, 0x80000
jne 0x4b7453
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
jne 0x4b7465
push esi
push str.unsafe_use_of__T__
push dword [esp + 0x14]
call fcn.00477d90
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 0x4b7529
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 0x4b74d5
mov edx, dword [ecx]
mov ecx, 1
mov word [esp + 0x5c], cx
mov dword [esp + 0x4c], fcn.004b28f0
mov dword [esp + 0x50], 0x4b27d0
mov dword [esp + 0x60], 0
test edx, edx
je 0x4b74d2
lea ecx, [esp + 0x48]
call fcn.004acb00
cmp word [esp + 0x5c], 0
mov eax, dword [esp + 0x2c]
je 0x4b74d5
bts esi, eax
mov ecx, dword [esp + 0x38]
test byte [ecx + 4], 0x20
je 0x4b74fb
cmp dword [esp + 0x34], 0
jne 0x4b74fb
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edx]
call fcn.004afc90
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 0x4b7490
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
jmp 0x4b7530
lea eax, [ecx + 8]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4b760a
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
je 0x4b7558
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 0x4b75c6
cmp edx, 1
jne 0x4b7593
mov al, byte [ecx + 0x13]
test al, al
jne 0x4b7577
inc dword [ecx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x2c]
add edx, 8
mov dword [esp + 0x24], eax
jmp 0x4b75ca
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 0x4b75ca
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], eax
cmp edx, esi
jg 0x4b75af
add eax, edx
mov dword [ecx + 0x20], eax
mov eax, esi
sub eax, edx
mov dword [ecx + 0x1c], eax
jmp 0x4b75c2
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 0x4b75f0
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov dl, byte [edx]
cmp dl, 0xa7
je 0x4b75e7
cmp dl, 0xa9
jne 0x4b75f0
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.004b8690
mov ecx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4b7612
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4b763b
test byte [esi + 4], 0x80
je 0x4b763f
push dword [ecx + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004fce30
add esp, 8
mov dword [esp + 0x38], eax
jmp 0x4b764b
test eax, eax
jle 0x4b7647
mov ecx, dword [esp + 0x44]
push dword [ecx]
jmp 0x4b7624
mov eax, dword [esp + 0x38]
test byte [eax + 4], 0x20
je 0x4b7715
cmp dword [esp + 0x34], 0
jne 0x4b7667
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 0x4b7688
push 0
push 0
push 0
mov edx, 0x54
mov ecx, edi
call fcn.00499040
add esp, 0xc
mov edx, eax
jmp 0x4b76bf
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 0x4b76da
push dword [esp + 0x34]
mov edx, 0xfffffffe
call fcn.00499b50
add esp, 4
jmp 0x4b7715
test edx, edx
jns 0x4b76e2
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 0x4b7706
push 0xfffffffffffffffe
push dword [esp + 0x38]
mov edx, ecx
mov ecx, edi
call fcn.00499da0
add esp, 8
jmp 0x4b7715
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b7715
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.004994e0
add esp, 0x14
test edi, edi
je 0x4b81a2
cmp dword [esp + 0x10], 0
jne 0x4b81a2
cmp edi, 1
jne 0x4b7781
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4b81a2
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4b81a2
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 0x4b81a2
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.00477d90
add esp, 0xc
jmp 0x4b8102
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
jne 0x4b6797
cmp edx, 0x8a
jne 0x4b77fe
test dword [esi + 4], 0x800
je 0x4b77fe
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4b77fe
cmp dword [ecx + 0x24], 0
jne 0x4b8106
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push ecx
call fcn.00477d90
add esp, 0x10
jmp 0x4b8102
mov edx, esi
call fcn.004b4320
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4b7825
call fcn.004b4320
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 0x4b7831
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4b783c
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
jmp 0x4b784f
cmp al, 0x8a
jne 0x4b784a
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4b784f
mov eax, 1
mov edx, dword [esi + 0x1c]
cmp edx, eax
je 0x4b7866
push eax
push edx
push str._d_columns_assigned__d_values
push ecx
call fcn.00477d90
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 0x4b78a8
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b78da
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.004b4a20
mov ecx, dword [edi + 0x74]
add esp, 8
mov esi, dword [ebp + 8]
cmp dword [edi + 0x78], ecx
jg 0x4b7911
push 0
push esi
push 1
mov edx, 0x47
mov ecx, edi
call fcn.00499040
add esp, 0xc
jmp 0x4b7940
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 0x4b795e
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b7967
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 0x4b7985
push 0
push 0
push esi
mov edx, 0x55
mov ecx, edi
call fcn.00499040
add esp, 0xc
jmp 0x4b79b4
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 0x4b79d9
push edx
mov edx, edi
call fcn.00499860
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.004b8890
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.004c3a40
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 0x4b7a51
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x9c
call fcn.00499040
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b7a7f
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 0x4b6e84
mov eax, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4b6e84
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b7ac0
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00499040
add esp, 0xc
jmp 0x4b8102
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 0x4b8109
push str.row_value_misused
push ecx
call fcn.00477d90
add esp, 8
jmp 0x4b8102
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 0x4b7b3b
push 0
push 0
push edx
mov edx, 0x16
mov ecx, edi
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4b7b6e
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.004b6480
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 0x4b7bae
mov eax, 0x5d5a30
jmp 0x4b7bbd
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 0x4b7bcc
mov esi, dword [edi + 0x74]
dec esi
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4b7be5
mov ecx, dword [esp + 0xc]
mov eax, 0x5d5a30
mov dword [eax + 0xc], edx
jmp 0x4b8109
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 0x4b8109
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 0x4b7d00
mov ecx, dword [esp + 0x34]
mov edx, esi
push 0
push 0
call fcn.004b1740
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
je 0x4b7c6d
test eax, eax
je 0x4b8102
mov edx, eax
call fcn.004b1450
jmp 0x4b8102
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004b5f80
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
je 0x4b7cca
nop
mov edx, dword [ecx + 4]
test edx, 0x41000
je 0x4b7cb4
test edx, 0x40000
je 0x4b7cab
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x4b7cae
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4b7c90
jmp 0x4b7cca
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.00552ad0
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 0x4b7eb4
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x4b7df2
jmp 0x4b7d22
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.004b8f30
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004b85e0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4b7d79
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b7dac
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 0x4b7dca
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b7dd3
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 0x4b7d20
jmp 0x4b7eb8
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.004b8f30
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004b85e0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4b7e42
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b7e75
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 0x4b7e93
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b7e9c
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 0x4b7df0
jmp 0x4b7eb8
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
test al, 1
je 0x4b7eda
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.004b85e0
add esp, 4
jmp 0x4b7f2c
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b7efa
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b7f2c
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 0x4b7f3f
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.004b1450
mov edx, dword [edi + 0x74]
mov eax, dword [edi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4b7f57
mov eax, 0x5d5a30
jmp 0x4b7f5f
mov eax, dword [edi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4f
jne 0x4b7f75
test edx, edx
jle 0x4b7f75
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 0x4b7f96
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b8102
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4b8102
cmp dword [ecx + 0x78], 0
jne 0x4b7fc6
cmp byte [ecx + 0x12], 0
jne 0x4b7fc6
push str.RAISE___may_only_be_used_within_a_trigger_program
push ecx
call fcn.00477d90
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x4b7fdc
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 0x4b8081
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4b800f
push 0
push 4
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00499040
add esp, 0xc
mov edx, eax
jmp 0x4b8046
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 0x4b805e
push esi
xor edx, edx
call fcn.00499b50
add esp, 4
jmp 0x4b8102
test edx, edx
jns 0x4b8066
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.00499da0
add esp, 8
jmp 0x4b8102
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 0x4b80c0
cmp dword [ecx + 0x74], esi
jne 0x4b80b1
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4b80b1
mov byte [ecx + 0x17], 1
call fcn.00498df0
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4b80d5
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.004993e0
mov eax, dword [esi + 0x74]
add esp, 0x14
test eax, eax
jle 0x4b8102
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 0x4b8125
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4b8125
movzx eax, al
mov dword [ecx + eax*4 + 0x98], esi
inc byte [ecx + 0x13]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b8141
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4b8141
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 0x4b8170
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00499040
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