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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
push esi
push edi
mov edi, edx
mov dword [esp + 0x24], ebx
mov esi, dword [ebx + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
test esi, esi
je 0x4bf635
mov ecx, 0x77
test edi, edi
je 0x4bf4ce
movzx ecx, byte [edi]
lea eax, [ecx - 0x13]
mov dword [esp + 0x14], ecx
cmp eax, 0x9f
ja case.0x4bf4e7.21
movzx eax, byte [eax + 0x4c03a0]
jmp dword [eax*4 + 0x4c0328]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x38], edi
jmp 0x4bf4c2
movsx eax, word [edi + 0x22]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x4bf516
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4bf4e7.164
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x59
call fcn.004a58b0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov ecx, dword [edi + 0x1c]
je 0x4bf5d6
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [edi + 0xc]
push esi
call fcn.004bf480
mov edx, dword [edi + 0x2c]
add esp, 4
mov ebx, eax
test edx, edx
je 0x4bf57d
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4bf579
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov al, byte [eax + ecx*4 + 0xd]
jmp 0x4bf580
mov al, 0x44
jmp 0x4bf580
mov al, byte [edi + 1]
movsx eax, al
mov dword [esp + 0x24], eax
cmp eax, 0x41
jle 0x4c031d
mov edi, dword [esp + 0x10]
cmp ebx, esi
je 0x4bf5af
push esi
push ebx
mov edx, 0x4e
mov ecx, edi
call fcn.004a59e0
mov eax, dword [esp + 0x2c]
add esp, 8
mov ebx, esi
push 0xffffffffffffffff
lea eax, [eax*2 + 0x5a739c]
mov edx, 0x5a
push eax
push 0
push 1
push ebx
mov ecx, edi
call fcn.004a5c70
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x4bf6ac
mov eax, dword [ebx + 0x34]
test eax, eax
jns 0x4bf6a9
movzx edx, word [edi + 0x20]
movsx ecx, dx
test ecx, ecx
jns 0x4bf5fd
not eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ecx + ecx*4]
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea esi, [eax + esi*4]
call fcn.004c7ac0
movzx ecx, word [esi + 0x10]
movsx edi, ax
sub edi, dword [ebx + 0x34]
test cl, 0x60
je 0x4bf675
test ecx, 0x100
je 0x4bf63e
push dword [esi]
push str.generated_column_loop_on___s_
push ebx
call fcn.00489a80
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or ecx, 0x100
movzx eax, cx
mov word [esi + 0x10], cx
mov ecx, eax
test al, al
jns 0x4bf662
push edi
mov edx, esi
mov ecx, ebx
call fcn.004bee30
movzx ecx, word [esi + 0x10]
add esp, 4
and ecx, 0xfe7f
mov word [esi + 0x10], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xd], 0x45
jne 0x4bf66c
mov ebx, dword [ebp + 8]
mov edx, 0x4e
mov ecx, dword [esp + 0x10]
push ebx
push edi
call fcn.004a59e0
mov ecx, dword [esp + 0x18]
mov edx, 0x53
push ebx
call fcn.004a5980
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax - 1]
mov al, byte [edi + 2]
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x2c]
mov byte [esp + 0x1b], al
movsx eax, word [edi + 0x20]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004bef20
add esp, 0xc
cmp byte [esp + 0x1b], 0
je 0x4bf702
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4bf6e9
mov ecx, 0x5f50d8
jmp 0x4bf6f2
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x59
jne 0x4bf702
mov al, byte [esp + 0x1b]
movzx eax, al
mov word [ecx + 2], ax
cmp dword [edi + 0x2c], 0
jne 0x4bfe6c
cmp byte [edi + 1], 0x45
jne 0x4bfe6c
mov ecx, dword [esp + 0x10]
mov edx, 0x53
push esi
call fcn.004a5980
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push 0
mov ecx, ebx
call fcn.004beca0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.004bc330
push eax
mov edx, 0x45
mov ecx, esi
call fcn.004a59e0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edi + 8]
push ebx
push 0
call fcn.004bec00
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004a5ac0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
lea ecx, [esi + 2]
call fcn.004898a0
lea edx, [esi + 2]
mov esi, dword [esp + 0x10]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.0048aa50
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x4a
push 0
sar eax, 1
push ebx
push eax
call fcn.004a5c70
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [edi + 0x20]
mov edx, 0x4b
push eax
mov ecx, esi
call fcn.004a59e0
mov eax, dword [edi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4bfe6c
mov esi, dword [ebx + 0xd8]
mov ecx, esi
movsx edx, word [edi + 0x20]
call fcn.0048ae80
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.004a66f0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [edi + 0xc]
push esi
call fcn.004bf480
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x4bf87b
mov ecx, dword [esp + 0x10]
mov edx, 0x4e
push esi
push ebx
call fcn.004a59e0
add esp, 8
mov ebx, esi
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.004c8210
mov ecx, dword [esp + 0x10]
mov edx, 0x54
movsx eax, al
push eax
push esi
call fcn.004a59e0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp ecx, 0x2d
mov dword [esp + 0x34], esi
sete al
lea ecx, [eax + 0x34]
mov dword [esp + 0x14], ecx
jmp 0x4bf8c0
xor esi, esi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov dl, byte [eax]
cmp dl, 0xad
jne 0x4bf8d1
mov dl, byte [eax + 2]
cmp dl, 0xae
jne 0x4bf8db
mov edx, dword [eax + 0x14]
jmp 0x4bf8ea
cmp dl, 0x88
jne 0x4bf90a
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x24]
cmp dword [edx], 1
jle 0x4bf90a
push esi
push ecx
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.004ba4f0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.004c0500
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.004c0500
mov ecx, eax
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 4]
add esp, 4
shr eax, 9
and eax, 1
push eax
mov eax, dword [esp + 0x38]
or eax, 0x20
push eax
push dword [ebp + 8]
push ecx
push esi
push dword [esp + 0x28]
mov ecx, ebx
push dword [edi + 0x10]
call fcn.004ba290
add esp, 0x1c
jmp 0x4bfb03
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004c0500
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.004c0500
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.004a58b0
add esp, 0xc
jmp 0x4bfb03
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0x98
jne 0x4bf9c4
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
push 1
call fcn.004beca0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x96
jne 0x4bf9e4
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004bec00
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov byte [esp + 0x74], 0x98
push eax
lea edx, [esp + 0x78]
mov dword [esp + 0x7c], 0x4400
mov ecx, ebx
mov dword [esp + 0x80], 0
call fcn.004c0500
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.004c0500
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x6a
push dword [ebp + 8]
push esi
push eax
call fcn.004a58b0
add esp, 0xc
jmp 0x4bfb03
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004c0500
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.004a59e0
add esp, 8
jmp 0x4bfb03
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004c0500
mov ecx, dword [edi + 0x10]
add esp, 4
mov edx, eax
call fcn.004bc330
mov ecx, eax
xor eax, eax
cmp byte [edi + 2], 0x2d
sete al
xor eax, ecx
push eax
xor eax, eax
test ecx, ecx
mov ecx, esi
sete al
push eax
push dword [ebp + 8]
push edx
mov edx, 0x57
call fcn.004a5e70
add esp, 0x10
jmp 0x4bfb03
push dword [ebp + 8]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.004a59e0
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004c0500
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004a5980
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x45
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.004a59e0
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, esi
call fcn.004a62c0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4bfb1f
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4bfb1f
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4c02fe
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4c02fe
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4bfb6f
push dword [edi + 8]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.00489a80
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x1000000
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x20], al
je 0x4bfbb6
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x17], 0
je 0x4bfc06
mov eax, 2
mov dword [esp + 0x44], fcn.004bc3e0
mov edx, edi
mov word [esp + 0x54], ax
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], 0x4bc2c0
mov dword [esp + 0x58], 0
call fcn.004b7660
cmp word [esp + 0x54], 0
je 0x4bfc06
push 0xffffffffffffffff
mov edx, edi
mov ecx, ebx
call fcn.004c0440
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
je 0x4bfc75
mov dword [esp + 0x14], 0
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, ecx
push 0
push dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x34], eax
call fcn.004cda10
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4bfe76
cmp dword [eax + 0x14], 0
jne 0x4bfe76
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x4bfc84
push dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov ecx, ebx
push dword [eax + 8]
call fcn.004bf2e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4bfc17
mov eax, dword [ecx]
jmp 0x4bfc19
test ecx, 0x280000
je 0x4bfc99
push eax
mov edx, edi
mov ecx, ebx
call fcn.004bae90
add esp, 4
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x4bfd4b
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x2c], edx
xor edi, edi
nop dword [eax]
mov ecx, 1
cmp eax, 0x20
jge 0x4bfd05
mov edx, dword [edx]
mov word [esp + 0x54], cx
mov dword [esp + 0x44], fcn.004bc3e0
mov dword [esp + 0x48], 0x4bc2c0
mov dword [esp + 0x58], 0
test edx, edx
je 0x4bfd02
lea ecx, [esp + 0x40]
call fcn.004b7660
cmp word [esp + 0x54], 0
mov eax, dword [esp + 0x20]
je 0x4bfd05
bts edi, eax
test byte [esi + 4], 0x20
je 0x4bfd27
cmp dword [esp + 0x34], 0
jne 0x4bfd27
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov edx, dword [edx]
call fcn.004ba010
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x28]
add edx, 0x14
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jl 0x4bfcc0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4bfdc5
cmp dword [esp + 0x2c], 0
je 0x4bfd6b
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edx
mov dword [ebx + 0x2c], eax
jmp 0x4bfd7a
mov edx, ecx
mov ecx, ebx
call fcn.004c1ed0
mov edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x4bfdae
mov ebx, dword [ecx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x1b], bl
cmp bl, 0xa4
mov ebx, dword [esp + 0x24]
je 0x4bfda2
cmp byte [esp + 0x1b], 0xa6
jne 0x4bfdae
mov esi, dword [ecx + 4]
and al, 0xc0
mov byte [esi + 2], al
mov esi, dword [esp + 0x10]
push 3
push 0
push edx
mov edx, ecx
mov ecx, ebx
call fcn.004c0650
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4bfdcd
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4bfdf6
test byte [edi + 4], 0x80
je 0x4bfdf6
push dword [edx + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push eax
call fcn.004ef8e0
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4bfe03
test eax, eax
jle 0x4bfdff
push dword [edx + 4]
jmp 0x4bfddf
mov eax, dword [esp + 0x1c]
test byte [eax + 4], 0x20
je 0x4bfe30
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4bfe18
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x51
mov ecx, esi
call fcn.004a5c70
add esp, 0x14
movzx eax, byte [edi + 2]
mov ecx, ebx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov edx, edi
push eax
push dword [esp + 0x20]
push esi
push dword [ebp + 8]
push dword [esp + 0x30]
call fcn.004a5cf0
add esp, 0x14
test esi, esi
je 0x4bfe6c
test edi, edi
jne 0x4bfe6c
mov edx, dword [esp + 0x20]
mov ecx, ebx
push esi
call fcn.004c1f30
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x3c]
push str.unknown_function:__s__
push ebx
call fcn.00489a80
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x88
jne 0x4bfecc
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4bfecc
cmp dword [ebx + 0x24], 0
jne 0x4c02fe
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push ebx
call fcn.00489a80
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, ebx
call fcn.004bd9f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x4bfef7
mov edx, ecx
mov ecx, ebx
call fcn.004bd9f0
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4bff1a
call fcn.004ba390
cmp edx, eax
je 0x4bff1a
push eax
push edx
push str._d_columns_assigned__d_values
push ebx
call fcn.00489a80
mov ecx, dword [edi + 0xc]
add esp, 0x10
movsx eax, word [edi + 0x20]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x38]
mov edx, 0x48
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
dec esi
push 0
lea edi, [esi - 1]
mov dword [ebx + 0x38], edi
call fcn.004a59e0
mov edx, dword [esp + 0x40]
mov ecx, ebx
push edi
push esi
call fcn.004bde70
mov ebx, dword [ebp + 8]
mov edx, 0x45
mov ecx, dword [esp + 0x20]
push ebx
push 1
call fcn.004a59e0
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004a5ff0
push 0
push ebx
mov edx, 0x52
mov ecx, esi
call fcn.004a59e0
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.004a5ff0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push 0
push 0
push esi
mov ecx, ebx
call fcn.004c0850
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [edi + 0x20]
mov ebx, dword [edi + 0x2c]
mov ecx, ebx
movsx eax, dx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], eax
call fcn.004c7ac0
movsx ecx, ax
mov edx, 0x94
movsx eax, word [ebx + 0x2a]
inc ecx
mov ebx, dword [ebp + 8]
inc eax
imul eax, dword [edi + 0x1c]
push ebx
add eax, ecx
mov ecx, esi
push eax
call fcn.004a59e0
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
js 0x4c02fe
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xd], 0x45
jne 0x4c02fe
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.004a5980
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push ebx
call fcn.00489a80
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov bl, byte [ebx + 0x17]
mov edx, 0x15
mov ecx, esi
call fcn.004a5980
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, eax
push dword [ebp + 8]
mov byte [eax + 0x17], 0
mov edx, dword [edi + 0xc]
call fcn.004bf480
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
mov byte [ecx + 0x17], bl
mov ecx, dword [esp + 0x10]
call fcn.004a62c0
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.004a6270
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
lea eax, [ecx + 4]
mov dword [esp + 0x34], 0
mov ecx, dword [ecx]
dec dword [ebx + 0x38]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4c015f
mov ecx, dword [esp + 0x24]
push 0
push 0
call fcn.004bb2d0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edi
cmp byte [eax + 0x51], 0
je 0x4c011b
test edi, edi
je 0x4c02fe
mov edx, edi
mov ecx, eax
call fcn.004bb0e0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004bf1c0
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.004bf180
push 0x34
lea eax, [esp + 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov byte [esp + 0x40], 0x35
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
dec ecx
test ecx, ecx
jle 0x4c0231
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x30], ecx
test edx, edx
je 0x4c01e0
nop dword [eax + eax]
mov esi, dword [ebx + 0x38]
mov eax, dword [eax]
dec esi
push 0x10
push esi
push dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
push ebx
mov dword [ebx + 0x38], esi
call fcn.004c0d70
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edi
mov edx, dword [edx + 0x14]
call fcn.004c0600
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov ecx, dword [esp + 0x10]
call fcn.004a5a50
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004a5ff0
mov eax, dword [esp + 0x14]
add eax, 0x28
sub dword [esp + 0x30], 1
mov dword [esp + 0x14], eax
jne 0x4c0180
jmp 0x4c0231
mov esi, dword [ebx + 0x38]
mov eax, dword [eax]
dec esi
push 0x10
push esi
push eax
push ebx
mov dword [ebx + 0x38], esi
call fcn.004c0d70
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edi
mov edx, dword [edx + 0x14]
call fcn.004c0600
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov ecx, dword [esp + 0x10]
call fcn.004a5a50
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004a5ff0
mov eax, dword [esp + 0x14]
add eax, 0x28
sub dword [esp + 0x30], 1
mov dword [esp + 0x14], eax
jne 0x4c01e0
mov eax, dword [esp + 0x2c]
push edi
test al, 1
je 0x4c0251
lea edx, [eax + eax*4]
mov ecx, ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + edx*4 - 0x10]
call fcn.004c0600
add esp, 4
jmp 0x4c0262
push 0
mov edx, 0x48
mov ecx, esi
call fcn.004a59e0
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c0275
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.004bb0e0
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004a5ff0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
jne 0x4c02a7
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.00489a80
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 1]
cmp al, 2
jne 0x4c02bf
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edi + 1]
mov ecx, dword [edi + 8]
push 0
cmp al, 4
jne 0x4c02e8
push ecx
push 0
push 4
push 0
mov edx, 0x44
mov ecx, esi
call fcn.004a5c70
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ecx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, ebx
call fcn.004cccd0
add esp, 0x10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x48
push ebx
push 0
mov ecx, esi
call fcn.004a59e0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret