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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x706034]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
test esi, esi
je 0x4b76cc
mov edx, 0x75
test edi, edi
je 0x4b69bc
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [esp + 0x20], edx
cmp eax, 0x9d
ja case.0x4b69d5.21
movzx eax, byte [eax + 0x4b79d8]
jmp dword [eax*4 + 0x4b7960]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x28], edi
jmp 0x4b69b0
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 0x4b6a12
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4b69d5.162
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.0049b420
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov edx, dword [edi + 0x1c]
je 0x4b6ae8
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [edi + 0xc]
push esi
call fcn.004b6960
movsx edx, word [edi + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x18], ecx
test edx, edx
js 0x4b6a83
mov eax, dword [edi + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
movsx eax, byte [eax + edx*8 + 0xd]
jmp 0x4b6a88
mov eax, 0x44
movsx edi, al
cmp edi, 0x41
jle 0x4b6ad1
mov ebx, dword [esp + 0x10]
cmp ecx, esi
je 0x4b6aaf
push esi
push ecx
mov edx, 0x4f
mov ecx, ebx
call fcn.0049b550
mov ecx, esi
add esp, 8
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
lea eax, [edi*2 + 0x6cc014]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, ebx
call fcn.0049b890
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b6b65
mov edx, dword [ebx + 0x34]
test edx, edx
jns 0x4b6b64
movzx ebx, word [edi + 0x20]
test bx, bx
js 0x4b6b4a
mov eax, dword [edi + 0x2c]
movsx edi, bx
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4b6b4a
mov ebx, dword [ebp + 8]
sub edi, edx
push ebx
push edi
mov edx, 0x4f
mov ecx, esi
call fcn.0049b550
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.0049b4f0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
movsx eax, bx
sub eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
dec edx
mov al, byte [edi + 0x26]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov byte [esp + 0x27], al
movsx eax, word [edi + 0x20]
push ebx
push eax
push edx
mov edx, dword [edi + 0x2c]
call fcn.004b66f0
mov cl, byte [esp + 0x33]
add esp, 0xc
test cl, cl
je 0x4b6ba0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b6ba0
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push 0
call fcn.004b6430
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.004b34b0
push eax
mov edx, 0x46
mov ecx, esi
call fcn.0049b550
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
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.004b62f0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0049b630
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.0049b550
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
lea ecx, [esi + 2]
call fcn.0047ccc0
lea edx, [esi + 2]
mov esi, dword [esp + 0x10]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.0047dec0
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x4b
push 0
sar eax, 1
push ebx
push eax
call fcn.0049b890
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [edi + 0x20]
mov edx, 0x4c
push eax
mov ecx, esi
call fcn.0049b550
mov eax, dword [edi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4b7948
mov esi, dword [ebx + 0xd8]
mov ecx, esi
movsx edx, word [edi + 0x20]
call fcn.0047e400
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.0049c3f0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
push esi
call fcn.004b6960
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x4b6d90
push esi
push eax
mov edx, 0x4f
mov ecx, ebx
call fcn.0049b550
add esp, 8
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.004c0790
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, ebx
call fcn.0049b550
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp edx, 0x2d
mov dword [esp + 0x30], esi
sete al
lea edx, [eax + 0x34]
mov dword [esp + 0x20], edx
jmp 0x4b6de3
xor esi, esi
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004b13f0
mov ecx, ebx
test eax, eax
je 0x4b6e1e
push esi
push edx
push dword [ebp + 8]
mov edx, edi
call fcn.004b1600
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.004b7b40
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b7b40
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, dword [esp + 0x18]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, ebx
push eax
push esi
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.004b1330
add esp, 0x18
jmp 0x4b7020
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b7b40
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b7b40
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0049b420
add esp, 0xc
jmp 0x4b7020
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0x96
jne 0x4b6ed6
mov esi, dword [ebp + 8]
push esi
push 1
call fcn.004b6430
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp al, 0x94
jne 0x4b6f04
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004b62f0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov byte [esp + 0x78], 0x96
push eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x80], 0x4400
mov dword [esp + 0x84], 0
call fcn.004b7b40
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b7b40
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x68
push dword [ebp + 8]
push esi
push eax
call fcn.0049b420
add esp, 0xc
jmp 0x4b7020
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b7b40
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.0049b550
add esp, 8
jmp 0x4b7020
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b7b40
mov ecx, dword [edi + 0x10]
add esp, 4
mov edx, eax
call fcn.004b34b0
mov ecx, eax
xor eax, eax
cmp byte [edi + 0x26], 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, 0x58
call fcn.0049bac0
add esp, 0x10
jmp 0x4b7020
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.0049b550
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004b7b40
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0049b4f0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.0049b550
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, esi
call fcn.0049bf40
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b703c
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b703c
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4b7948
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b7948
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 ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4b70a8
push dword [edi + 8]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.0047ce20
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
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 ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x1000000
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x14], al
je 0x4b710b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x17], 0
je 0x4b713f
mov ecx, edi
call fcn.004b36f0
test eax, eax
je 0x4b713f
push 0xffffffffffffffff
mov edx, edi
mov ecx, ebx
call fcn.004b7a80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
je 0x4b721f
mov dword [esp + 0x20], 0
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, ecx
push 0
push dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
push eax
mov dword [esp + 0x28], eax
call fcn.004c6550
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
je 0x4b742e
cmp dword [eax + 0x14], 0
jne 0x4b742e
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4b7235
mov edi, dword [esp + 0x20]
mov ecx, ebx
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp + 8]
mov edx, dword [edi + 4]
push esi
mov dword [esp + 0x2c], eax
call fcn.004b7c60
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 1
jle 0x4b71fa
add edi, 0x1c
dec eax
mov dword [esp + 0x18], eax
nop word [eax + eax]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push esi
call fcn.0049b550
mov edx, dword [edi]
mov ecx, ebx
push esi
call fcn.004b7c60
add esp, 0xc
lea edi, [edi + 0x18]
sub dword [esp + 0x18], 1
jne 0x4b71d0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
call fcn.0049bc10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4b7154
mov eax, dword [ecx]
jmp 0x4b7156
test eax, 0x400
je 0x4b7265
mov edi, dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edi + 4]
call fcn.004b6960
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4b72d9
mov esi, dword [esp + 0x20]
add esi, 4
xor edi, edi
nop dword [eax]
cmp eax, 0x20
jge 0x4b729b
mov ecx, dword [esi]
call fcn.004b3690
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4b729b
bts edi, eax
mov edx, dword [esp + 0x34]
test byte [edx + 4], 0x20
je 0x4b72c1
cmp dword [esp + 0x30], 0
jne 0x4b72c1
mov edx, dword [esi]
mov ecx, ebx
call fcn.004b1070
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x4b7280
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4b735b
cmp dword [esp + 0x2c], 0
je 0x4b7301
mov eax, dword [ebx + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
jmp 0x4b7314
mov edx, ecx
mov ecx, ebx
call fcn.004b9710
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
test byte [eax + 4], 0xc0
je 0x4b7346
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x27], bl
cmp bl, 0xa2
mov ebx, dword [esp + 0x18]
je 0x4b7337
cmp byte [esp + 0x27], 0xa4
jne 0x4b7346
mov esi, dword [edx + 4]
mov al, byte [eax + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x10]
push 3
push 0
push ecx
mov ecx, ebx
call fcn.004b7e20
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4b7363
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
cmp eax, 2
jl 0x4b738a
test byte [edi + 4], 0x80
je 0x4b738a
push dword [edx + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004e9830
add esp, 8
mov edi, eax
jmp 0x4b7397
test eax, eax
jle 0x4b7393
push dword [edx + 4]
jmp 0x4b7375
mov edi, dword [esp + 0x34]
test byte [edi + 4], 0x20
je 0x4b73c4
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b73ac
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x52
mov ecx, esi
call fcn.0049b890
add esp, 0x14
mov edx, dword [ebx + 0x34]
mov esi, dword [ebp + 8]
neg edx
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff8
push edi
push esi
push dword [esp + 0x20]
sbb edx, edx
push dword [esp + 0x3c]
add edx, 0x3f
call fcn.0049b890
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x10]
movzx edx, al
call fcn.0049bf20
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b7417
cmp dword [esp + 0x2c], 0
jne 0x4b7417
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004b9770
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push dword [esp + 0x3c]
push str.unknown_function:__s__
push ebx
call fcn.0047ce20
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp edx, 0x86
jne 0x4b7495
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4b7495
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push ebx
call fcn.0047ce20
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov edx, edi
call fcn.004b4d40
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4b74c5
call fcn.004b4d40
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x1c], eax
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4b74e8
mov ecx, dword [edi + 0xc]
call fcn.004b1430
cmp edx, eax
je 0x4b74e8
push eax
push edx
push str._d_columns_assigned__d_values
push ebx
call fcn.0047ce20
add esp, 0x10
mov eax, dword [edi + 0xc]
movsx ecx, word [edi + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x38]
mov edx, 0x49
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
dec esi
push 0
lea edi, [esi - 1]
mov dword [ebx + 0x38], edi
call fcn.0049b550
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edi
push esi
call fcn.004b51c0
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x20]
push ebx
push 1
call fcn.0049b550
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0049bc10
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.0049b550
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.0049bc10
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push 0
push 0
push esi
call fcn.004b8020
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2c]
mov edx, 0x95
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
push ebx
movsx ecx, word [eax + 0x2a]
movsx eax, word [edi + 0x20]
inc ecx
imul ecx, dword [edi + 0x1c]
inc ecx
add eax, ecx
mov ecx, esi
push eax
call fcn.0049b550
movzx eax, word [edi + 0x20]
add esp, 8
test ax, ax
js 0x4b7948
movsx ecx, ax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4b7948
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.0049b4f0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push ebx
call fcn.0047ce20
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov bl, byte [ebx + 0x17]
mov edx, 0x15
mov ecx, esi
call fcn.0049b4f0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, eax
push dword [ebp + 8]
mov byte [eax + 0x17], 0
mov edx, dword [edi + 0xc]
call fcn.004b6960
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
mov byte [ecx + 0x17], bl
mov ecx, dword [esp + 0x10]
call fcn.0049bf40
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.0049bee0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
jne 0x4b76e3
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.0047ce20
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x4b76f5
mov eax, dword [ebx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x4b772e
push dword [edi + 8]
mov edx, 0x45
mov ecx, esi
push 0
push 4
push 0
call fcn.0049b890
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push 0
push dword [edi + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, ebx
call fcn.004c5500
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
xor edx, edx
mov esi, dword [ebx]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], edx
lea eax, [ecx + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [ecx]
dec dword [ebx + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4b7822
push edx
push edx
mov edx, ecx
mov ecx, esi
call fcn.004b2270
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], esi
cmp byte [eax + 0x51], 0
je 0x4b77e2
test esi, esi
je 0x4b7948
mov edx, esi
mov ecx, eax
call fcn.004b2020
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov edx, esi
push eax
mov ecx, ebx
call fcn.004b68a0
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.004b6860
push 0x34
lea eax, [esp + 0x48]
push 0
push eax
call fcn.0063af90
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x50]
add esp, 0xc
mov byte [esp + 0x44], 0x35
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
dec ecx
mov edi, dword [esp + 0x10]
test ecx, ecx
jle 0x4b78c7
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x28], ecx
nop
cmp dword [esp + 0x3c], 0
je 0x4b784f
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x4b7855
mov edx, dword [eax]
mov dword [esp + 0x18], edx
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
push 0x10
push eax
push edx
push ebx
mov dword [esp + 0x30], eax
call fcn.004b8540
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push esi
mov edx, dword [edx + 0x18]
call fcn.004b7c60
mov edx, dword [esp + 0x48]
add esp, 0x14
mov ecx, edi
call fcn.0049b5c0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b78a4
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
jmp 0x4b78ad
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, 0x30
sub dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
jne 0x4b7840
mov eax, dword [esp + 0x30]
push esi
test al, 1
je 0x4b78e7
lea edx, [eax + eax*2]
mov ecx, ebx
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004b7c60
add esp, 4
jmp 0x4b78f8
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049b550
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b790b
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004b2020
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b793f
push edx
mov edx, edi
call fcn.0049bbc0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret