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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x519008]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0
mov ebx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x4aaa4a
mov ecx, 0x72
test ebx, ebx
je 0x4a9d0c
movzx ecx, byte [ebx]
lea eax, [ecx - 0x13]
mov dword [esp + 0x24], ecx
cmp eax, 0x9a
ja case.0x4a9d25.21
movzx eax, byte [eax + 0x4aad38]
jmp dword [eax*4 + 0x4aacc0]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x2c], ebx
jmp 0x4a9d00
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 0x4a9d62
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4a9d25.162
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.004c82b0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
test byte [ebx + 4], 8
mov ecx, dword [ebx + 0x1c]
je 0x4a9e34
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebx + 0xc]
push esi
call fcn.004a9cb0
movsx edx, word [ebx + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edx, edx
js 0x4a9dd2
mov eax, dword [ebx + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
mov al, byte [eax + edx*8 + 0xd]
jmp 0x4a9dd4
mov al, 0x44
movsx ebx, al
cmp ebx, 0x41
je 0x4a9e1d
mov edi, dword [esp + 0x18]
cmp ecx, esi
je 0x4a9dfb
push esi
push ecx
mov edx, 0x4f
mov ecx, edi
call fcn.004c8180
mov ecx, esi
add esp, 8
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea eax, [ebx*2 + 0x50a90c]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.004c7e30
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x4a9e5b
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x4a9e5a
movsx eax, word [ebx + 0x20]
sub eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
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 + 0x2f], al
movsx eax, word [ebx + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004aaf90
mov cl, byte [esp + 0x37]
add esp, 0xc
test cl, cl
je 0x4aaca5
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4aaca5
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 + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push esi
push 0
mov ecx, edi
call fcn.004ab270
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.004ae400
mov ecx, dword [esp + 0x1c]
mov edx, 0x46
push eax
call fcn.004c8180
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
push esi
push 0
call fcn.004ab4e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004c8060
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.004c8180
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 8]
lea ecx, [esi + 2]
call fcn.004e9d80
lea edx, [esi + 2]
mov esi, dword [esp + 0x18]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.004e8a90
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.004c7e30
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
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.004c8180
mov eax, dword [ebx + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4aaca5
mov esi, dword [edi + 0xd8]
mov ecx, esi
movsx edx, word [ebx + 0x20]
call fcn.004e84c0
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.004c7110
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebx + 0xc]
push esi
call fcn.004a9cb0
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x4aa096
push esi
push eax
mov edx, 0x4f
mov ecx, edi
call fcn.004c8180
add esp, 8
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + 8]
xor edx, edx
call fcn.004a00c0
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, edi
call fcn.004c8180
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp ecx, 0x2d
mov dword [esp + 0x1c], esi
sete al
add eax, 0x34
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4aa0eb
xor esi, esi
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x2c], edx
mov al, byte [edx]
cmp al, 0xa8
jne 0x4aa0fb
mov al, byte [edx + 0x26]
cmp al, 0xa9
jne 0x4aa104
lea eax, [edx + 0x14]
jmp 0x4aa10b
cmp al, 0x83
jne 0x4aa13b
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x4aa13b
push esi
push ecx
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.004b0510
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.004a9ad0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.004a9ad0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x2c]
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.004b0a80
add esp, 0x18
jmp 0x4aa33f
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004a9ad0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.004a9ad0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x18]
push dword [ebp + 8]
push esi
push eax
call fcn.004c82b0
add esp, 0xc
jmp 0x4aa33f
mov edx, dword [ebx + 0xc]
mov al, byte [edx]
cmp al, 0x93
jne 0x4aa1f5
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 1
call fcn.004ab270
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
cmp al, 0x91
jne 0x4aa223
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004ab4e0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov byte [esp + 0x70], 0x93
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, edi
mov dword [esp + 0x7c], 0
call fcn.004a9ad0
mov edx, dword [ebx + 0xc]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.004a9ad0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, 0x65
push dword [ebp + 8]
push esi
push eax
call fcn.004c82b0
add esp, 0xc
jmp 0x4aa33f
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004a9ad0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.004c8180
add esp, 8
jmp 0x4aa33f
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004a9ad0
mov ecx, dword [ebx + 0x10]
add esp, 4
mov edx, eax
call fcn.004ae400
mov ecx, eax
xor eax, eax
cmp byte [ebx + 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.004c7b60
add esp, 0x10
jmp 0x4aa33f
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.004c8180
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004a9ad0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004c81f0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.004c8180
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, esi
call fcn.004c7670
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4aa35b
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4aa35b
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4aaca5
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4aaca5
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4aa3c7
push dword [ebx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.004e9ae0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
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 + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x1000000
mov eax, dword [edi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x10], al
je 0x4aa42a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
je 0x4aa482
mov edx, ebx
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], fcn.004ae250
mov dword [esp + 0x44], 0x4ae490
mov dword [esp + 0x54], 0
call fcn.004b3e10
cmp byte [esp + 0x50], 0
je 0x4aa482
push 0xffffffffffffffff
mov edx, ebx
mov ecx, edi
call fcn.004a9bf0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x4000
je 0x4aa566
mov dword [esp + 0x30], 0
xor eax, eax
mov ecx, dword [ebx + 8]
mov edx, ecx
push 0
push dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x30], eax
call fcn.00499940
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x4aa7b0
cmp dword [eax + 0x14], 0
jne 0x4aa7b0
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4aa57c
dec dword [edi + 0x38]
mov ecx, edi
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push ebx
mov edx, dword [eax + 4]
call fcn.004a9a70
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 1
jle 0x4aa543
mov ecx, dword [esp + 0x30]
add ecx, 0x1c
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
push dword [esp + 0x2c]
mov edx, 0x33
mov ecx, esi
push ebx
call fcn.004c8180
mov edx, dword [esp + 0x1c]
mov ecx, edi
push ebx
mov edx, dword [edx]
call fcn.004a9a70
add dword [esp + 0x20], 0x18
add esp, 0xc
sub dword [esp + 0x1c], 1
jne 0x4aa515
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.004c7a60
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4aa497
mov eax, dword [ecx]
jmp 0x4aa499
test eax, 0x400
je 0x4aa5ac
mov eax, dword [esp + 0x30]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.004a9cb0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x4aa655
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x14], edx
xor esi, esi
nop
cmp eax, 0x20
jge 0x4aa60f
mov edx, dword [edx]
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], fcn.004ae250
mov dword [esp + 0x44], 0x4ae490
mov dword [esp + 0x54], 0
test edx, edx
je 0x4aa60c
lea ecx, [esp + 0x3c]
call fcn.004b3e10
cmp byte [esp + 0x50], 0
mov eax, dword [esp + 0x10]
je 0x4aa60f
bts esi, eax
test byte [ebx + 4], 0x20
je 0x4aa631
cmp dword [esp + 0x1c], 0
jne 0x4aa631
mov edx, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [edx]
call fcn.004b0d90
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x24]
add edx, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp eax, ecx
jl 0x4aa5d0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4aa6d5
cmp dword [esp + 0x14], 0
je 0x4aa67d
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x2c], eax
jmp 0x4aa690
mov edx, ecx
mov ecx, edi
call fcn.004a7d20
mov edx, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x4aa6c0
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x2b], bl
cmp bl, 0xa2
mov ebx, dword [esp + 0x2c]
je 0x4aa6b4
cmp byte [esp + 0x2b], 0xa4
jne 0x4aa6c0
mov esi, dword [edx + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x18]
push 3
push 0
push ecx
mov ecx, edi
call fcn.004a96a0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x4aa6dd
mov dword [esp + 0x10], 0
cmp dword [esp + 0x24], 2
jl 0x4aa708
test byte [ebx + 4], 0x80
je 0x4aa708
push dword [edx + 0x1c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push ebx
call fcn.00475a70
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x4aa719
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x4aa715
push dword [edx + 4]
jmp 0x4aa6f1
mov eax, dword [esp + 0x20]
test byte [eax + 4], 0x20
je 0x4aa74a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4aa72e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x52
mov ecx, esi
call fcn.004c7e30
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [edi + 0x34]
mov ecx, esi
push 0xfffffffffffffff8
push eax
push dword [ebp + 8]
neg edx
push dword [esp + 0x1c]
sbb edx, edx
push dword [esp + 0x24]
add edx, 0x3f
call fcn.004c7e30
add esp, 0x14
movzx edx, bl
mov ecx, esi
call fcn.004c76a0
test ebx, ebx
je 0x4aaca5
cmp dword [esp + 0x14], 0
jne 0x4aaca5
mov edx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.004a7ce0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
push dword [esp + 0x38]
push str.unknown_function:__s__
push edi
call fcn.004e9ae0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
cmp ecx, 0x83
jne 0x4aa817
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4aa817
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.004e9ae0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, edi
call fcn.004ac6d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x4aa850
mov edx, ecx
mov ecx, edi
call fcn.004ac6d0
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x4aa873
call fcn.004b0a10
cmp edx, eax
je 0x4aa873
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.004e9ae0
mov ecx, dword [ebx + 0xc]
add esp, 0x10
movsx eax, word [ebx + 0x20]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x38]
mov edx, 0x49
mov eax, dword [esp + 0x14]
dec esi
push dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push 0
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.004c8180
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push edi
push esi
call fcn.004ab610
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x28]
push ebx
push 1
call fcn.004c8180
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004c7a60
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.004c8180
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.004c7a60
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push 0
push 0
push esi
mov ecx, edi
call fcn.004a9510
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2c]
mov edx, 0x95
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
movsx ecx, word [eax + 0x2a]
movsx eax, word [ebx + 0x20]
inc ecx
imul ecx, dword [ebx + 0x1c]
push esi
inc ecx
add eax, ecx
mov ecx, edi
push eax
call fcn.004c8180
movzx eax, word [ebx + 0x20]
add esp, 8
test ax, ax
js 0x4aaca5
movsx ecx, ax
mov eax, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4aaca5
push esi
mov edx, 0x54
mov ecx, edi
call fcn.004c81f0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push edi
call fcn.004e9ae0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x1c]
mov edx, 0x15
mov ecx, esi
call fcn.004c81f0
mov edx, dword [ebx + 0xc]
add esp, 4
mov ecx, edi
mov esi, eax
push dword [ebp + 8]
call fcn.004a9cb0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
call fcn.004c7670
push dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.004c76c0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x78], 0
jne 0x4aaa61
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.004e9ae0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 1]
cmp al, 2
jne 0x4aaa78
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4aaa71
mov eax, edi
mov byte [eax + 0x15], 1
mov al, byte [ebx + 1]
mov ecx, dword [ebx + 8]
push 0
cmp al, 4
jne 0x4aaaaf
push ecx
push 0
push 4
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004c7e30
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
push 0
push ecx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.0049b060
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
lea eax, [ecx + 4]
mov ecx, dword [ecx]
dec dword [edi + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4aab92
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.004af960
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x74]
call fcn.004aade0
add esp, 4
lea ecx, [esp + 0x70]
mov ebx, eax
mov edx, dword [ecx + 4]
test edx, 0x41000
je 0x4aab56
test edx, 0x40000
je 0x4aab4f
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 4]
jmp 0x4aab52
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4aab34
mov al, byte [ecx]
and dword [ecx + 4], 0xffffefff
push 0x34
mov byte [ecx + 0x26], al
lea eax, [esp + 0x40]
push 0
push eax
mov byte [ecx], 0xa8
mov dword [ecx + 0x1c], ebx
call fcn.00405490
lea eax, [esp + 0x7c]
mov byte [esp + 0x48], 0x35
lea edx, [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x34]
mov ebx, dword [ebp + 8]
dec ecx
test ecx, ecx
jle 0x4aac37
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
lea ebx, [ebx]
cmp dword [esp + 0x38], 0
mov eax, dword [eax]
je 0x4aabbf
mov dword [esp + 0x4c], eax
jmp 0x4aabc5
mov edx, eax
mov dword [esp + 0x1c], edx
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push edx
push edi
mov dword [esp + 0x34], eax
call fcn.004a8d60
mov edx, dword [esp + 0x24]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.004a9a70
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ecx, esi
call fcn.004c8110
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4aac14
push edx
mov edx, esi
call fcn.004c7a90
add esp, 4
jmp 0x4aac1d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 0x30
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
jne 0x4aabb0
mov eax, dword [esp + 0x34]
push ebx
test al, 1
je 0x4aac57
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x34]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004a9a70
add esp, 4
jmp 0x4aac68
push 0
mov edx, 0x49
mov ecx, esi
call fcn.004c8180
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4aac9c
push edx
mov edx, esi
call fcn.004c7a90
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret