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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x577018]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov ebx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x462fc9
test ebx, ebx
je case.0x462364.110
movzx edx, byte [ebx]
mov dword [esp + 0x24], edx
lea eax, [edx - 0x13]
cmp eax, 0x96
ja case.0x462364.21
movzx eax, byte [eax + 0x4632f8]
jmp dword [eax*4 + 0x463280]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x3c], ebx
jmp 0x462340
movsx eax, word [ebx + 0x22]
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x4623a1
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x462364.158
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.00446430
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
test byte [ebx + 4], 8
mov ecx, dword [ebx + 0x1c]
je 0x46246d
push dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov ecx, edi
call fcn.004622f0
movsx ecx, word [ebx + 0x20]
add esp, 4
mov edi, eax
test ecx, ecx
js 0x46240c
mov eax, dword [ebx + 0x2c]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
jmp 0x46240e
mov al, 0x44
movsx eax, al
mov dword [esp + 0x28], eax
cmp eax, 0x41
je 0x462456
mov ebx, dword [ebp + 8]
cmp edi, ebx
je 0x462438
push ebx
push edi
mov edx, 0x4f
mov ecx, esi
call fcn.00446560
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, ebx
push 0xffffffffffffffff
lea eax, [eax*2 + 0x557aac]
mov edx, 0x5b
push eax
push 0
push 1
push edi
mov ecx, esi
call fcn.00446820
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x462494
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x462493
movsx eax, word [ebx + 0x20]
sub eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
dec ecx
mov al, byte [ebx + 0x26]
push dword [ebp + 8]
mov edx, dword [ebx + 0x2c]
mov byte [esp + 0x1f], al
movsx eax, word [ebx + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00461f60
mov cl, byte [esp + 0x27]
add esp, 0xc
test cl, cl
je 0x462d85
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x462d85
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push esi
push 0
call fcn.00461de0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, 0x46
push edi
cmp byte [eax + 4], cl
sete cl
push ecx
mov ecx, esi
call fcn.00446560
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [ebx + 8]
push edi
push 0
call fcn.00461d30
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00446640
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 8]
add edx, 2
jne 0x4625a9
xor esi, esi
jmp 0x4625bf
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4625b0
sub esi, ecx
and esi, 0x3fffffff
mov ebx, dword [esp + 0x30]
dec esi
push esi
mov ecx, dword [ebx]
call fcn.00428bf0
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, ebx
push 0xfffffffffffffff9
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, 0x4b
push 0
sar eax, 1
push edi
push eax
call fcn.00446820
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [ebx + 0x20]
mov edx, 0x4c
push eax
mov ecx, esi
call fcn.00446560
mov eax, dword [ebx + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x462d85
mov edx, dword [edi + 0xd4]
test edx, edx
je 0x46264f
mov edi, dword [edx + 4]
mov eax, 2
movsx ebx, word [ebx + 0x20]
cmp dword [edx + eax*4], ebx
lea ecx, [edx + eax*4]
je 0x462653
add eax, dword [ecx + 4]
cmp eax, edi
jl 0x462640
xor ecx, ecx
jmp 0x462656
add ecx, 8
mov dword [edx], 0
mov edx, ecx
push 0xffffffffffffffff
mov ecx, esi
call fcn.00447450
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [ebx + 0xc]
call fcn.004622f0
mov edi, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x4626c8
push edi
push eax
mov edx, 0x4f
mov ecx, esi
call fcn.00446560
add esp, 8
mov dword [esp + 0x14], edi
mov ecx, dword [ebx + 8]
xor edx, edx
call fcn.0046ca10
movsx eax, al
mov edx, 0x55
push eax
push edi
mov ecx, esi
call fcn.00446560
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp edx, 0x2d
mov dword [esp + 0x14], esi
sete al
lea edx, [eax + 0x34]
mov dword [esp + 0x24], edx
jmp 0x46271b
xor esi, esi
mov eax, dword [ebx + 0xc]
mov ecx, eax
mov dword [esp + 0x3c], eax
call fcn.0045cae0
mov ecx, edi
test eax, eax
je 0x462740
push esi
push edx
push dword [ebp + 8]
mov edx, ebx
call fcn.0045ccb0
jmp 0x46293b
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
call fcn.00463510
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x34]
push eax
call fcn.00463510
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x3c]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
push esi
push dword [esp + 0x34]
push dword [ebx + 0x10]
call fcn.0045ca20
add esp, 0x18
jmp 0x46293e
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.00463510
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x34]
push eax
call fcn.00463510
mov ebx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push ebx
push esi
push eax
call fcn.00446430
add esp, 0xc
jmp 0x462941
mov edx, dword [ebx + 0xc]
mov al, byte [edx]
cmp al, 0x8f
jne 0x4627e4
mov ebx, dword [ebp + 8]
push ebx
push 1
call fcn.00461de0
jmp 0x463264
cmp al, 0x8d
jne 0x4627fd
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.00461d30
jmp 0x463264
lea eax, [esp + 0x1c]
mov byte [esp + 0x78], 0x8f
push eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x80], 0x4400
mov dword [esp + 0x84], 0
call fcn.00463510
mov edx, dword [ebx + 0xc]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x34]
push eax
call fcn.00463510
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, 0x61
push ebx
push esi
push eax
call fcn.00446430
add esp, 0xc
jmp 0x462941
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.00463510
mov ebx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, esi
push ebx
push eax
call fcn.00446560
add esp, 8
jmp 0x462941
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.00463510
mov esi, eax
add esp, 4
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp byte [ebx + 0x26], 0x2d
mov ebx, dword [ebp + 8]
sete cl
mov eax, dword [eax + 8]
mov dl, byte [eax + 4]
xor eax, eax
test dl, dl
sete al
xor ecx, eax
xor eax, eax
test dl, dl
mov edx, 0x58
push ecx
mov ecx, dword [esp + 0x34]
setne al
push eax
push ebx
push esi
call fcn.004469c0
add esp, 0x10
jmp 0x462941
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.00446560
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00463510
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00446500
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.00446560
mov ecx, dword [esp + 0x38]
add esp, 8
mov edx, esi
call fcn.00446ec0
jmp 0x46293e
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x462998
push dword [ebx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.00427d40
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46295d
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x46295d
movzx eax, al
mov dword [edi + eax*4 + 0x90], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x463267
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x463267
movzx eax, al
mov dword [edi + eax*4 + 0x90], ecx
mov eax, ebx
inc byte [edi + 0x13]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
movsx ecx, word [ebx + 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.00517154
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x1000000
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x28], al
je 0x4629fb
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
je 0x462a2f
mov ecx, ebx
call fcn.0045f1d0
test eax, eax
je 0x462a2f
push 0xffffffffffffffff
mov edx, ebx
mov ecx, edi
call fcn.00463390
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x4000
je 0x462ae7
mov dword [esp + 0x38], 0
xor eax, eax
mov ecx, dword [ebx + 8]
mov edx, ecx
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0x1c], eax
call fcn.00473270
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x462d9d
cmp dword [eax + 0x14], 0
jne 0x462d9d
mov ecx, dword [eax + 4]
test ecx, 0x200
je 0x462b5d
mov edx, dword [esp + 0x38]
mov ecx, edi
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp + 8]
mov edx, dword [edx + 4]
push ebx
mov dword [esp + 0x30], eax
call fcn.004635e0
mov ecx, dword [esp + 0x14]
add esp, 4
cmp ecx, 1
jle 0x462b4d
mov eax, dword [esp + 0x38]
add eax, 0x1c
dec ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x462afd
push 0
push dword [esp + 0x30]
mov edx, 0x33
mov ecx, esi
push ebx
call fcn.004463f0
add esp, 0xc
jmp 0x462b2c
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x462a44
mov eax, dword [ecx]
jmp 0x462a46
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
mov edx, dword [edx]
call fcn.004635e0
add dword [esp + 0x24], 0x18
add esp, 4
sub dword [esp + 0x14], 1
jne 0x462ac7
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.00446b80
jmp 0x462941
test ecx, 0x400
je 0x462b8e
mov eax, dword [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.004622f0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x34], edx
test eax, eax
jle 0x462c4a
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x28], eax
mov ebx, eax
mov eax, ecx
cmp edx, 0x20
jge 0x462c03
mov ecx, dword [ebx]
mov byte [esp + 0x58], 1
mov dword [esp + 0x48], fcn.0045f040
mov dword [esp + 0x4c], 0x45efe0
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x462bf1
mov edx, ecx
lea ecx, [esp + 0x44]
call fcn.00459a40
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp byte [esp + 0x58], 0
je 0x462c03
mov ecx, dword [esp + 0x2c]
bts ecx, edx
mov dword [esp + 0x2c], ecx
mov ecx, eax
test al, 0x20
je 0x462c28
cmp dword [esp + 0x14], 0
jne 0x462c28
mov edx, dword [ebx]
mov ecx, edi
call fcn.0045c7c0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
inc edx
add ebx, 0x18
mov dword [esp + 0x34], edx
cmp edx, esi
jl 0x462bb1
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
jmp 0x462c55
mov edx, dword [esp + 0x38]
lea ecx, [edx + 4]
mov dword [esp + 0x28], ecx
test edx, edx
je 0x462ccf
cmp dword [esp + 0x2c], 0
je 0x462c77
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [edi + 0x2c], eax
jmp 0x462c8a
mov edx, eax
mov ecx, edi
call fcn.00464bf0
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x462cba
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x1b], bl
cmp bl, 0x9e
mov ebx, dword [esp + 0x3c]
je 0x462cae
cmp byte [esp + 0x1b], 0xa0
jne 0x462cba
mov esi, dword [edx + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x30]
push 3
push 0
push ecx
mov ecx, edi
call fcn.004636d0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x462cd7
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
cmp eax, 2
jl 0x462cfe
test byte [ebx + 4], 0x80
je 0x462d02
push dword [edx + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
call fcn.0049aad0
add esp, 8
mov ebx, eax
jmp 0x462d0e
test eax, eax
jle 0x462d0a
mov ecx, dword [esp + 0x28]
push dword [ecx]
jmp 0x462ce9
mov ebx, dword [esp + 0x24]
test byte [ebx + 4], 0x20
je 0x462d3b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x462d23
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x52
mov ecx, esi
call fcn.00446820
add esp, 0x14
mov edx, dword [edi + 0x34]
mov ecx, esi
push 0xfffffffffffffff8
push ebx
push dword [ebp + 8]
neg edx
push dword [esp + 0x28]
sbb edx, edx
push dword [esp + 0x3c]
add edx, 0x3f
call fcn.00446820
mov ebx, dword [esp + 0x24]
add esp, 0x14
movzx edx, bl
mov ecx, esi
call fcn.00446ea0
test ebx, ebx
je 0x462d85
cmp dword [esp + 0x2c], 0
jne 0x462d85
mov edx, dword [esp + 0x1c]
mov ecx, edi
push ebx
call fcn.00464c50
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push dword [esp + 0x40]
push str.unknown_function:__s__
jmp 0x462935
cmp edx, 0x7f
jne 0x462dd2
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x462dd2
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.00427d40
add esp, 0x10
jmp 0x46293e
mov edx, ebx
call fcn.00460940
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x462e0b
mov edx, ecx
mov ecx, edi
call fcn.00460940
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x462e2b
call fcn.0045cb20
cmp edx, eax
je 0x462e2b
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.00427d40
add esp, 0x10
mov eax, dword [ebx + 0xc]
movsx ecx, word [ebx + 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.00517154
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x38]
mov eax, ecx
push dword [ebp + 8]
mov ecx, dword [esp + 0x34]
dec esi
push 0
mov edx, 0x49
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.00446560
mov ecx, dword [esp + 0x30]
mov edx, ebx
push edi
push esi
call fcn.00460d70
push dword [ebp + 8]
mov ebx, dword [esp + 0x44]
mov edx, 0x46
push 1
mov ecx, ebx
call fcn.00446560
mov edx, esi
mov ecx, ebx
call fcn.00446b80
mov esi, dword [ebp + 8]
mov edx, 0x53
push 0
push esi
mov ecx, ebx
call fcn.00446560
add esp, 0x20
mov edx, edi
mov ecx, ebx
call fcn.00446b80
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push 0
push 0
push esi
call fcn.00463910
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2c]
mov edx, 0x96
push dword [ebp + 8]
mov dword [esp + 0x44], eax
movsx ecx, word [eax + 0x2a]
movsx eax, word [ebx + 0x20]
inc ecx
imul ecx, dword [ebx + 0x1c]
inc ecx
add eax, ecx
mov ecx, esi
push eax
call fcn.00446560
movzx eax, word [ebx + 0x20]
add esp, 8
test ax, ax
js 0x46293e
mov ebx, dword [ebp + 8]
movsx ecx, ax
mov eax, dword [esp + 0x40]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x462941
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.00446500
add esp, 4
jmp 0x462941
push str.row_value_misused
push edi
call fcn.00427d40
add esp, 8
jmp 0x46293e
push dword [ebx + 0x1c]
mov edx, 0x15
mov ecx, esi
call fcn.00446500
mov edx, dword [ebx + 0xc]
add esp, 4
mov ecx, edi
mov esi, eax
push dword [ebp + 8]
call fcn.004622f0
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
call fcn.00446ec0
push dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov edx, esi
call fcn.00446e60
add esp, 4
jmp 0x46293e
cmp dword [edi + 0x78], 0
jne 0x462fe0
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.00427d40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 1], 2
jne 0x462ff2
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov cl, byte [ebx + 1]
mov eax, dword [ebx + 8]
push 0
cmp cl, 4
jne 0x46301a
push eax
push 0
push 4
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00446820
add esp, 0x14
jmp 0x46293e
push 0
push eax
movsx eax, cl
mov edx, 0x713
push eax
mov ecx, edi
call fcn.00472070
add esp, 0x10
jmp 0x46293e
mov eax, dword [ebx + 0x14]
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
lea ecx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x38]
dec eax
mov dword [esp + 0x10], ecx
mov dword [edi + 0x38], eax
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x4630da
mov edx, ebx
lea ecx, [esp + 0x78]
call fcn.0045dd80
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea edx, [esp + 0x7c]
call fcn.00462240
mov cl, byte [esp + 0x7c]
add esp, 4
and dword [esp + 0x7c], 0xffffefff
mov dword [esp + 0x94], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x9e], cl
push 0x34
push 0
push eax
mov byte [esp + 0x84], 0xa4
call fcn.00519680
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x84]
lea edx, [esp + 0x50]
mov byte [esp + 0x50], 0x35
add esp, 0xc
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x3c]
dec eax
test eax, eax
jle 0x4631ef
dec eax
shr eax, 1
inc eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], eax
je 0x463180
nop word [eax + eax]
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x38]
dec eax
push 0x10
push eax
push edx
push edi
mov dword [esp + 0x50], eax
mov dword [edi + 0x38], eax
call fcn.00463de0
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.004635e0
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
call fcn.004465d0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x463156
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x46315f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add ecx, 0x30
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], ecx
jne 0x463100
jmp 0x4631f2
mov eax, dword [ecx]
mov ecx, dword [edi + 0x38]
dec ecx
push 0x10
push ecx
push eax
push edi
mov dword [esp + 0x50], ecx
mov dword [edi + 0x38], ecx
call fcn.00463de0
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.004635e0
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
call fcn.004465d0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4631d2
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x4631db
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x30
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], ecx
jne 0x463180
jmp 0x4631f2
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
push ebx
test al, 1
je 0x463212
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004635e0
add esp, 4
jmp 0x463223
push 0
mov edx, 0x49
mov ecx, esi
call fcn.00446560
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x463244
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x462941
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x462941
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.00446560
add esp, 8
mov ecx, dword [esp + 0xac]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret