Function at 0x4ad650
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.0x4ad6ab.21
movzx edx, byte [esi]
mov dword [esp + 0x24], edx
lea eax, [edx - 0x13]
cmp eax, 0xa2
ja case.0x4ad6ab.21
movzx eax, byte [eax + 0x4af3f4]
jmp dword [eax*4 + 0x4af37c]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
jmp 0x4ad687
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 0x4ad6ea
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.0x4ad6ab.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 0x4ad734
mov edx, dword [ebp + 8]
mov ecx, edi
push edx
push esi
push eax
mov edx, 0x5d
call fcn.00490220
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4ad762
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 0x4af372
movsx ecx, ax
mov eax, dword [esp + 0x28]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4af372
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4ad7b4
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00490220
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 0x4af362
test byte [esi + 4], 8
mov edx, dword [esi + 0x1c]
je 0x4ad8f9
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xc]
call fcn.004ad650
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4ad828
movsx ecx, word [esi + 0x20]
test ecx, ecx
js 0x4ad820
movsx eax, word [edx + 0x22]
cmp ecx, eax
jge 0x4ad820
mov eax, dword [edx + 4]
add ecx, ecx
mov al, byte [eax + ecx*8 + 8]
mov ecx, dword [esp + 0x10]
jmp 0x4ad82b
mov ecx, dword [esp + 0x10]
mov al, 0x44
jmp 0x4ad82b
mov al, byte [esi + 1]
movsx eax, al
cmp eax, 0x41
jle 0x4ad8ef
mov edx, dword [edi + 0x74]
lea esi, [eax*2 + 0x58d780]
cmp dword [edi + 0x78], edx
jg 0x4ad85e
push 0
push 1
push ecx
mov edx, 0x5f
mov ecx, edi
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4ad895
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 0x4ad8b3
push esi
or edx, 0xffffffff
call fcn.00490d30
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4ad8bb
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 0x4ad8e4
push 0xffffffffffffffff
push esi
mov edx, eax
mov ecx, edi
call fcn.00490f80
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4ad8ef
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 0x4ada0c
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x4ada09
movzx edx, word [esi + 0x20]
mov eax, dword [esi + 0x2c]
movsx esi, dx
mov dword [esp + 0x20], eax
test esi, esi
jns 0x4ad92c
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.004bac20
movzx ecx, word [esi + 0xe]
cwde
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test cl, 0x60
je 0x4ad9a2
test ecx, 0x100
je 0x4ad96f
push dword [esi]
mov ecx, dword [esp + 0x10]
push str.generated_column_loop_on___s_
push ecx
call fcn.0046ef60
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 0x4ad993
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
push esi
call fcn.004acc50
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 0x4af375
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4ad9d2
mov edx, dword [ebp + 8]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x50
call fcn.00490220
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4ad78f
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 0x4ad78f
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.004ace10
add esp, 0xc
cmp byte [esp + 0x1f], 0
je 0x4ada61
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 0x4ada4a
mov ecx, 0x5c5900
jmp 0x4ada53
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x4ada61
movzx eax, byte [esp + 0x1f]
mov word [ecx + 2], ax
cmp dword [esi + 0x2c], 0
jne 0x4af372
cmp byte [esi + 1], 0x45
jne 0x4af372
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4ada89
push 0
push 0
push dword [ebp + 8]
jmp 0x4ad79c
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 0x4af362
mov edi, dword [ebp + 8]
mov edx, esi
push edi
push 0
call fcn.004aca20
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je 0x4adae0
mov esi, dword [esi + 0xc]
test esi, esi
jne case.0x4ad6ab.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 0x4adb11
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x47
call fcn.00490220
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 0x4af35b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4af372
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4adb40
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.0046f200
mov ecx, dword [edi]
push 0
push 8
call fcn.0046bd70
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4adb7c
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.004905c0
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.00490340
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 0x4adbc3
xor esi, esi
jmp 0x4adbd7
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4adbc8
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [edi]
dec esi
push esi
call fcn.00470190
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 0x4adc11
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4c
call fcn.00490220
add esp, 0xc
mov esi, eax
jmp 0x4adc3f
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 0x4adc62
mov edx, dword [esp + 0x10]
push edx
mov edx, 0xfffffff9
call fcn.00490d30
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x4adc6a
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 0x4adc96
push 0xfffffffffffffff9
push edx
mov edx, eax
mov ecx, edi
call fcn.00490f80
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x4af372
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 0x4adcd1
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x4d
call fcn.00490220
add esp, 0xc
jmp 0x4add03
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 0x4af372
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x4add22
xor esi, esi
jmp 0x4add4f
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 0x4add4c
add eax, dword [ecx + 4]
cmp eax, esi
jl 0x4add32
xor esi, esi
jmp 0x4add4f
lea esi, [ecx + 8]
mov dword [edx], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4add72
push esi
or edx, 0xffffffff
call fcn.00490d30
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.004ad650
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edx
je 0x4ade06
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4addcf
push 0
push edx
push eax
mov edx, 0x50
mov ecx, edi
call fcn.00490220
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4ade02
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.004bbe10
mov ecx, dword [edi + 0x74]
movsx esi, al
cmp dword [edi + 0x78], ecx
jg 0x4ade3a
push 0
push esi
push dword [ebp + 8]
mov edx, 0x57
mov ecx, edi
call fcn.00490220
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 0x4adeaa
mov dl, byte [eax + 2]
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x1f], 0xb1
jne 0x4adebe
mov edi, dword [eax + 0x14]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
jmp 0x4aded3
cmp byte [esp + 0x1f], 0x8a
jne 0x4adef7
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 0x4adef7
push dword [esp + 0x28]
push edx
push dword [ebp + 8]
mov edx, esi
call fcn.004a7420
add esp, 0xc
jmp 0x4af2d2
lea edx, [esp + 0x2c]
push edx
mov edx, eax
call fcn.004af6b0
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.004af6b0
mov ecx, dword [edi + 0x74]
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [edi + 0x78], ecx
jg 0x4adf42
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00490220
add esp, 0xc
jmp 0x4adf74
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.004a70c0
mov ecx, dword [edi + 0x74]
add esp, 0x1c
cmp dword [esp + 0x28], 0x80
mov eax, dword [edi + 0x78]
jne 0x4adfff
cmp eax, ecx
jg 0x4adfd8
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4aecaf
cmp eax, ecx
jg 0x4ae022
push dword [esp + 0x20]
mov edx, 0x5b
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4af2d9
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004af6b0
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.004af6b0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
cmp dword [edi + 0x78], ecx
jg 0x4ae0ab
push dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
mov edx, dword [esp + 0x2c]
push esi
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4af2d9
mov eax, dword [esi + 0xc]
mov dl, byte [eax]
cmp dl, 0x9b
jne 0x4ae110
mov esi, dword [ebp + 8]
mov edx, eax
push esi
push 1
call fcn.004aca20
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dl, 0x99
jne 0x4ae1a1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4af372
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4ae130
sub edx, esi
and edx, 0x3fffffff
push 1
push edx
lea edx, [esp + 0x18]
call fcn.0046f200
movsd xmm0, qword [esp + 0x18]
xorps xmm0, xmmword [0x5a2420]
mov ecx, dword [edi]
push 0
push 8
movsd qword [esp + 0x20], xmm0
call fcn.0046bd70
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4ae17f
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.004905c0
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.004af6b0
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.004af6b0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x78], ecx
jg 0x4ae20f
push dword [ebp + 8]
mov ecx, edi
push edx
push esi
mov edx, 0x6b
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4af2d9
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004af6b0
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x24]
cmp dword [edi + 0x78], ecx
jg 0x4ae275
push 0
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4ae0d4
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004af6b0
mov edx, eax
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4ae2d0
nop dword [eax + eax]
test dword [eax + 4], 0x1000
je 0x4ae2d0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4ae2c0
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 0x4ae319
push ecx
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x5a
call fcn.00490220
add esp, 0xc
mov esi, eax
jmp 0x4ae347
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 0x4ae054
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 0x4af2d9
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4ae396
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.00490220
add esp, 0xc
jmp 0x4ae3c8
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.004af6b0
mov esi, dword [edi + 0x74]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], esi
jg 0x4ae3ff
push 0
push 0
push eax
mov ecx, edi
call fcn.00490220
add esp, 0xc
mov esi, eax
jmp 0x4ae43a
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 0x4ae45d
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.00490220
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4ae48f
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 0x4ae4af
mov eax, 0x5c5900
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
jmp 0x4af2d9
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 0x4af2d9
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4ae4f8
movzx edx, word [esi + 0x22]
test dx, dx
js 0x4ae4f8
movsx edx, dx
cmp edx, dword [eax + 0x2c]
jge 0x4ae4f8
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.0046ef60
add esp, 0xc
jmp 0x4af2d2
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 0x4ae53e
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 0x4ae58f
mov eax, 2
mov dword [esp + 0x4c], fcn.004a9ac0
mov edx, esi
mov word [esp + 0x5c], ax
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], 0x4a99a0
mov dword [esp + 0x60], 0
call fcn.004a3cd0
cmp word [esp + 0x5c], 0
je 0x4ae58f
mov ecx, dword [esp + 0xc]
mov edx, esi
push 0xffffffffffffffff
call fcn.004af4a0
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 0x4ae59e
mov eax, dword [eax]
jmp 0x4ae5a0
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.004c3650
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
je 0x4ae96d
cmp dword [eax + 0x14], 0
jne 0x4ae96d
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x4ae5f7
push dword [ebp + 8]
mov edx, dword [esp + 0x44]
push dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.004ad2c0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, 0x280000
je 0x4ae635
test dword [esi + 4], 0x40000000
je 0x4ae635
test ecx, 0x80000
jne 0x4ae623
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
jne 0x4ae635
push esi
push str.unsafe_use_of__T__
push dword [esp + 0x14]
call fcn.0046ef60
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 0x4ae6f9
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 0x4ae6a5
mov edx, dword [ecx]
mov ecx, 1
mov word [esp + 0x5c], cx
mov dword [esp + 0x4c], fcn.004a9ac0
mov dword [esp + 0x50], 0x4a99a0
mov dword [esp + 0x60], 0
test edx, edx
je 0x4ae6a2
lea ecx, [esp + 0x48]
call fcn.004a3cd0
cmp word [esp + 0x5c], 0
mov eax, dword [esp + 0x2c]
je 0x4ae6a5
bts esi, eax
mov ecx, dword [esp + 0x38]
test byte [ecx + 4], 0x20
je 0x4ae6cb
cmp dword [esp + 0x34], 0
jne 0x4ae6cb
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edx]
call fcn.004a6e60
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 0x4ae660
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
jmp 0x4ae700
lea eax, [ecx + 8]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4ae7da
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
je 0x4ae728
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 0x4ae796
cmp edx, 1
jne 0x4ae763
mov al, byte [ecx + 0x13]
test al, al
jne 0x4ae747
inc dword [ecx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x2c]
add edx, 8
mov dword [esp + 0x24], eax
jmp 0x4ae79a
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 0x4ae79a
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], eax
cmp edx, esi
jg 0x4ae77f
add eax, edx
mov dword [ecx + 0x20], eax
mov eax, esi
sub eax, edx
mov dword [ecx + 0x1c], eax
jmp 0x4ae792
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 0x4ae7c0
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov dl, byte [edx]
cmp dl, 0xa7
je 0x4ae7b7
cmp dl, 0xa9
jne 0x4ae7c0
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.004af860
mov ecx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4ae7e2
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4ae80b
test byte [esi + 4], 0x80
je 0x4ae80f
push dword [ecx + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004f4040
add esp, 8
mov dword [esp + 0x38], eax
jmp 0x4ae81b
test eax, eax
jle 0x4ae817
mov ecx, dword [esp + 0x44]
push dword [ecx]
jmp 0x4ae7f4
mov eax, dword [esp + 0x38]
test byte [eax + 4], 0x20
je 0x4ae8e5
cmp dword [esp + 0x34], 0
jne 0x4ae837
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 0x4ae858
push 0
push 0
push 0
mov edx, 0x54
mov ecx, edi
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4ae88f
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 0x4ae8aa
push dword [esp + 0x34]
mov edx, 0xfffffffe
call fcn.00490d30
add esp, 4
jmp 0x4ae8e5
test edx, edx
jns 0x4ae8b2
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 0x4ae8d6
push 0xfffffffffffffffe
push dword [esp + 0x38]
mov edx, ecx
mov ecx, edi
call fcn.00490f80
add esp, 8
jmp 0x4ae8e5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4ae8e5
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.004906c0
add esp, 0x14
test edi, edi
je 0x4af372
cmp dword [esp + 0x10], 0
jne 0x4af372
cmp edi, 1
jne 0x4ae951
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4af372
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4af372
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 0x4af372
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.0046ef60
add esp, 0xc
jmp 0x4af2d2
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
jne 0x4ad967
cmp edx, 0x8a
jne 0x4ae9ce
test dword [esi + 4], 0x800
je 0x4ae9ce
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4ae9ce
cmp dword [ecx + 0x24], 0
jne 0x4af2d6
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push ecx
call fcn.0046ef60
add esp, 0x10
jmp 0x4af2d2
mov edx, esi
call fcn.004ab4f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4ae9f5
call fcn.004ab4f0
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 0x4aea01
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4aea0c
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
jmp 0x4aea1f
cmp al, 0x8a
jne 0x4aea1a
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4aea1f
mov eax, 1
mov edx, dword [esi + 0x1c]
cmp edx, eax
je 0x4aea36
push eax
push edx
push str._d_columns_assigned__d_values
push ecx
call fcn.0046ef60
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 0x4aea78
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4aeaaa
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.004abbf0
mov ecx, dword [edi + 0x74]
add esp, 8
mov esi, dword [ebp + 8]
cmp dword [edi + 0x78], ecx
jg 0x4aeae1
push 0
push esi
push 1
mov edx, 0x47
mov ecx, edi
call fcn.00490220
add esp, 0xc
jmp 0x4aeb10
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 0x4aeb2e
push edx
mov edx, edi
call fcn.00490a40
add esp, 4
jmp 0x4aeb37
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 0x4aeb55
push 0
push 0
push esi
mov edx, 0x55
mov ecx, edi
call fcn.00490220
add esp, 0xc
jmp 0x4aeb84
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 0x4aeba9
push edx
mov edx, edi
call fcn.00490a40
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.004afa60
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.004bac20
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 0x4aec21
push 0
push dword [ebp + 8]
mov ecx, edi
push edx
mov edx, 0x9c
call fcn.00490220
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4aec4f
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 0x4ae054
mov eax, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4ae054
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4aec90
push 0
push 0
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00490220
add esp, 0xc
jmp 0x4af2d2
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 0x4af2d9
push str.row_value_misused
push ecx
call fcn.0046ef60
add esp, 8
jmp 0x4af2d2
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 0x4aed0b
push 0
push 0
push edx
mov edx, 0x16
mov ecx, edi
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4aed3e
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.004ad650
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 0x4aed7e
mov eax, 0x5c5900
jmp 0x4aed8d
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 0x4aed9c
mov esi, dword [edi + 0x74]
dec esi
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4aedb5
mov ecx, dword [esp + 0xc]
mov eax, 0x5c5900
mov dword [eax + 0xc], edx
jmp 0x4af2d9
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 0x4af2d9
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 0x4aeed0
mov ecx, dword [esp + 0x34]
mov edx, esi
push 0
push 0
call fcn.004a8910
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
je 0x4aee3d
test eax, eax
je 0x4af2d2
mov edx, eax
call fcn.004a8620
jmp 0x4af2d2
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004ad150
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
je 0x4aee9a
nop
mov edx, dword [ecx + 4]
test edx, 0x41000
je 0x4aee84
test edx, 0x40000
je 0x4aee7b
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x4aee7e
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4aee60
jmp 0x4aee9a
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.005491d0
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 0x4af084
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x4aefc2
jmp 0x4aeef2
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.004b0100
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004af7b0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4aef49
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4aef7c
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 0x4aef9a
push edx
mov edx, edi
call fcn.00490a40
add esp, 4
jmp 0x4aefa3
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 0x4aeef0
jmp 0x4af088
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.004b0100
mov edx, dword [esp + 0x40]
push dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + 0x14]
call fcn.004af7b0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4af012
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4af045
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 0x4af063
push edx
mov edx, edi
call fcn.00490a40
add esp, 4
jmp 0x4af06c
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 0x4aefc0
jmp 0x4af088
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
test al, 1
je 0x4af0aa
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.004af7b0
add esp, 4
jmp 0x4af0fc
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4af0ca
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4af0fc
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 0x4af10f
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.004a8620
mov edx, dword [edi + 0x74]
mov eax, dword [edi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4af127
mov eax, 0x5c5900
jmp 0x4af12f
mov eax, dword [edi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4f
jne 0x4af145
test edx, edx
jle 0x4af145
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 0x4af166
push edx
mov edx, edi
call fcn.00490a40
add esp, 4
jmp 0x4af2d2
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4af2d2
cmp dword [ecx + 0x78], 0
jne 0x4af196
cmp byte [ecx + 0x12], 0
jne 0x4af196
push str.RAISE___may_only_be_used_within_a_trigger_program
push ecx
call fcn.0046ef60
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x4af1ac
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 0x4af251
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4af1df
push 0
push 4
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4af216
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 0x4af22e
push esi
xor edx, edx
call fcn.00490d30
add esp, 4
jmp 0x4af2d2
test edx, edx
jns 0x4af236
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.00490f80
add esp, 8
jmp 0x4af2d2
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 0x4af290
cmp dword [ecx + 0x74], esi
jne 0x4af281
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4af281
mov byte [ecx + 0x17], 1
call fcn.0048ffd0
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4af2a5
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.004905c0
mov eax, dword [esi + 0x74]
add esp, 0x14
test eax, eax
jle 0x4af2d2
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 0x4af2f5
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4af2f5
movzx eax, al
mov dword [ecx + eax*4 + 0x98], esi
inc byte [ecx + 0x13]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4af311
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4af311
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 0x4af340
push 0
push dword [ebp + 8]
mov edx, 0x4a
mov ecx, edi
push 0
call fcn.00490220
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