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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5932e0]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov esi, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x492fd4
mov edx, 0x65
test esi, esi
je 0x49226b
movzx edx, byte [esi]
lea eax, [edx - 0x13]
mov dword [esp + 0x28], edx
cmp eax, 0x8a
ja case.0x492284.21
movzx eax, byte [eax + 0x4932fc]
jmp dword [eax*4 + 0x493284]
movsx eax, word [esi + 0x22]
mov edx, dword [esi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x4922b7
mov eax, dword [eax + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x492284.146
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push esi
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x63
call fcn.00478530
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x492317
mov ecx, dword [edi + 0x38]
test ecx, ecx
jns 0x492316
movsx eax, word [esi + 0x20]
sub eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
dec ecx
movzx eax, byte [esi + 0x26]
mov edx, dword [esi + 0x2c]
push eax
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.00491f30
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
push 0
call fcn.00491a00
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, 0x43
push edi
cmp byte [eax + 4], cl
sete cl
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00478680
add esp, 8
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov edx, dword [esi + 8]
push edi
push 0
call fcn.00491950
add esp, 8
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
mov edx, dword [ebp + 8]
call fcn.00478760
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, 0x46
push esi
push 0
call fcn.00478680
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
lea ecx, [esi + 2]
call fcn.0045c240
mov ecx, dword [esp + 0x14]
lea edx, [esi + 2]
lea edi, [eax - 1]
mov ecx, dword [ecx]
push edi
call fcn.0045d3f0
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x48
push 0
sar eax, 1
push esi
push eax
call fcn.00478930
add esp, 0x14
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
mov edx, 0x49
push eax
call fcn.00478680
mov eax, dword [esi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x49326b
mov edx, dword [esp + 0x2c]
mov esi, dword [edi + 0x1a4]
mov ecx, esi
movsx edx, word [edx + 0x20]
call fcn.0045d840
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.00479300
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.00492210
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ecx
cmp ecx, eax
je 0x492524
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, 0x4c
call fcn.00478680
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.00499c90
mov ecx, dword [esp + 0x14]
mov edx, 0x52
movsx eax, al
push eax
push dword [ebp + 8]
call fcn.00478680
mov edx, dword [esp + 0x38]
mov ecx, edi
push 1
call fcn.00491cb0
mov eax, dword [esp + 0x3c]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x20], 0x80
cmp edx, 0x2d
sete al
add eax, 0x34
mov edx, eax
mov dword [esp + 0x28], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
mov al, byte [ecx]
cmp al, 0x98
jne 0x492594
mov al, byte [ecx + 0x26]
cmp al, 0x99
jne 0x49259d
lea eax, [ecx + 0x14]
jmp 0x4925a4
cmp al, 0x77
jne 0x4925d6
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x4925d6
push dword [esp + 0x20]
mov ecx, edi
push edx
push dword [ebp + 8]
mov edx, esi
call fcn.0048d4e0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x24]
mov edx, ecx
push eax
mov ecx, edi
call fcn.00493450
mov edx, dword [esp + 0x30]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x1c]
mov edx, dword [edx + 0x10]
push eax
call fcn.00493450
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x30]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
mov eax, dword [esp + 0x38]
push esi
push dword [esp + 0x38]
push dword [eax + 0x10]
call fcn.0048d270
add esp, 0x18
jmp 0x4927fa
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00493450
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
call fcn.00493450
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x14]
push dword [ebp + 8]
push esi
push eax
call fcn.00478530
add esp, 0xc
jmp 0x4927fa
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0x86
jne 0x49269d
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
push 1
call fcn.00491a00
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp al, 0x84
jne 0x4926c8
mov esi, dword [ebp + 8]
mov edx, dword [edx + 8]
push esi
push 1
call fcn.00491950
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x24]
mov byte [esp + 0x70], 0x86
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, edi
mov dword [esp + 0x7c], 0
call fcn.00493450
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
call fcn.00493450
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x59
push dword [ebp + 8]
push esi
push eax
call fcn.00478530
add esp, 0xc
jmp 0x4927fa
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00493450
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x14]
push dword [ebp + 8]
push eax
call fcn.00478680
add esp, 8
jmp 0x4927fa
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00493450
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dl, byte [eax + 4]
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x26], 0x2d
sete cl
xor eax, eax
test dl, dl
sete al
xor ecx, eax
xor eax, eax
test dl, dl
mov edx, 0x60
push ecx
mov ecx, dword [esp + 0x18]
setne al
push eax
push dword [ebp + 8]
push esi
call fcn.00478a30
add esp, 0x10
jmp 0x4927fa
push dword [ebp + 8]
mov edx, 0x43
push 1
call fcn.00478680
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00493450
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x14]
push eax
call fcn.00478610
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x43
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.00478680
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, esi
call fcn.00478e60
mov edx, dword [esp + 0x24]
test edx, edx
je 0x49283c
mov al, byte [edi + 0x13]
mov byte [esp + 0x1b], al
cmp al, 8
jae 0x49283c
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x94]
xor ecx, ecx
test esi, esi
je 0x49282d
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x49289a
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x492820
movzx eax, byte [esp + 0x1b]
mov dword [edi + eax*4 + 0x15c], edx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x49326b
mov al, byte [edi + 0x13]
mov byte [esp + 0x1b], al
cmp al, 8
jae 0x49326b
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x94]
xor ecx, ecx
test esi, esi
je 0x492874
cmp dword [eax + 0xc], edx
je 0x4928a0
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x492867
movzx eax, byte [esp + 0x1b]
mov dword [edi + eax*4 + 0x15c], edx
inc byte [edi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov byte [eax + 6], 1
jmp 0x49283c
mov byte [eax + 6], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4928ea
push dword [esi + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.0045c440
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
mov eax, dword [edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov al, byte [eax + 0x46]
mov byte [esp + 0x1c], al
je 0x492983
mov byte [esp + 0x54], 2
mov dword [esp + 0x44], fcn.0048f260
mov dword [esp + 0x48], 0x48f200
mov dword [esp + 0x58], 0
test esi, esi
je 0x492961
mov edx, esi
lea ecx, [esp + 0x40]
call fcn.0048ab90
cmp byte [esp + 0x54], 0
je 0x492983
push 0xffffffffffffffff
mov edx, esi
mov ecx, edi
call fcn.00493390
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
je 0x492a8c
mov dword [esp + 0x34], 0
xor eax, eax
mov ecx, dword [esi + 8]
mov edx, ecx
push 0
push dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
push eax
mov dword [esp + 0x34], eax
call fcn.0049eff0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x492d02
cmp dword [eax + 0x10], 0
jne 0x492d02
movzx eax, word [eax + 2]
test eax, 0x200
je 0x492aa2
mov ecx, dword [esp + 0x14]
call fcn.00478ac0
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push esi
mov edx, dword [eax + 4]
call fcn.00493560
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 1
jle 0x492a68
mov ecx, dword [esp + 0x34]
add ecx, 0x1c
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
nop word [eax + eax]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, 0x33
push esi
call fcn.00478680
push 1
mov edx, esi
mov ecx, edi
call fcn.00491cb0
mov edx, dword [esp + 0x2c]
add esp, 0xc
inc dword [edi + 0x3c]
mov ecx, edi
mov edx, dword [edx]
push esi
call fcn.00493560
add esp, 4
mov ecx, edi
call fcn.00491d50
add dword [esp + 0x20], 0x18
sub dword [esp + 0x30], 1
jne 0x492a20
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
call fcn.00478b10
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x492998
mov eax, dword [ecx]
jmp 0x49299a
test eax, 0x400
je 0x492ad1
mov eax, dword [esp + 0x34]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.00492210
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x492b75
mov edx, dword [esp + 0x34]
add edx, 4
xor esi, esi
mov dword [esp + 0x20], edx
cmp eax, 0x20
jge 0x492b2f
mov edx, dword [edx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x44], fcn.0048f260
mov dword [esp + 0x48], 0x48f200
mov dword [esp + 0x58], 0
test edx, edx
je 0x492b2c
lea ecx, [esp + 0x40]
call fcn.0048ab90
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x1c]
je 0x492b2f
bts esi, eax
mov ecx, dword [esp + 0x24]
test byte [ecx + 2], 0x20
je 0x492b55
cmp dword [esp + 0x30], 0
jne 0x492b55
mov edx, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [edx]
call fcn.0048d030
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x28]
add edx, 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
cmp eax, ecx
jl 0x492af0
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x492c04
cmp dword [esp + 0x20], 0
je 0x492ba1
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x2c], eax
jmp 0x492bb4
mov edx, ecx
mov ecx, edi
call fcn.00494a40
mov edx, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x492be5
mov ecx, dword [edx + 4]
mov cl, byte [ecx]
mov byte [esp + 0x1b], cl
cmp cl, 0x92
mov ecx, dword [esp + 0x1c]
je 0x492bd9
cmp byte [esp + 0x1b], 0x94
jne 0x492be5
mov esi, dword [edx + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x2c]
inc dword [edi + 0x3c]
push 3
push 0
push ecx
mov ecx, edi
call fcn.004935c0
add esp, 0xc
mov ecx, edi
call fcn.00491d50
mov edx, dword [esp + 0x34]
jmp 0x492c0c
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x492c37
test byte [esi + 4], 0x80
je 0x492c37
push dword [edx + 0x1c]
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x28]
push eax
call fcn.004befd0
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x492c5b
mov esi, dword [esp + 0x38]
test eax, eax
jle 0x492c57
push dword [edx + 4]
mov edx, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.004befd0
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x492c5b
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0x20
je 0x492c8e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x492c6c
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x14]
mov edx, 0x4f
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.00478930
mov eax, dword [esp + 0x38]
add esp, 0x14
jmp 0x492c92
mov esi, dword [esp + 0x14]
mov edx, dword [edi + 0x38]
mov ecx, esi
push 0xfffffffffffffff8
push eax
push dword [ebp + 8]
neg edx
push dword [esp + 0x28]
sbb edx, edx
push dword [esp + 0x30]
add edx, 0xa4
call fcn.00478930
mov eax, dword [esp + 0x3c]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.00478e40
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49326b
cmp dword [esp + 0x20], 0
jne 0x49326b
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00494aa0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [esp + 0x3c]
push str.unknown_function:__s__
push edi
call fcn.0045c440
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp edx, 0x77
jne 0x492d64
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x492d64
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.0045c440
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.004902b0
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x492daa
push 0
mov edx, ecx
mov ecx, edi
push 0
call fcn.004902b0
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x492dcd
call fcn.0048d330
cmp edx, eax
je 0x492dcd
push eax
push edx
push 0x5993fc
push edi
call fcn.0045c440
mov ecx, dword [esi + 0xc]
add esp, 0x10
movsx eax, word [esi + 0x20]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
call fcn.00478ac0
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00478ac0
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov edx, 0x46
push 0
mov edi, eax
call fcn.00478680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
push edi
push esi
call fcn.004909e0
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, 0x43
push 1
call fcn.00478680
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.00478b10
mov esi, dword [ebp + 8]
mov edx, 0x50
push 0
push esi
call fcn.00478680
mov ecx, dword [esp + 0x34]
add esp, 0x20
mov edx, edi
call fcn.00478b10
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push 0
push 0
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.004937c0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.00492210
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov edx, 0x92
mov edi, dword [ebp + 8]
mov dword [esp + 0x3c], eax
push edi
movsx ecx, word [eax + 0x2a]
movsx eax, word [esi + 0x20]
inc ecx
imul ecx, dword [esi + 0x1c]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00478680
movzx eax, word [esi + 0x20]
add esp, 8
test ax, ax
js 0x49326b
movsx ecx, ax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x49326b
mov ecx, dword [esp + 0x14]
mov edx, 0x51
push edi
call fcn.00478610
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push 0x5993e8
push edi
call fcn.0045c440
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push dword [esi + 0x1c]
mov edx, 0x17
call fcn.00478610
inc dword [edi + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 0xc]
call fcn.00492210
add esp, 4
mov dword [ebp + 8], eax
mov ecx, edi
call fcn.00491d50
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00478e60
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00478e00
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x7c], 0
jne 0x492fea
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.0045c440
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 1]
cmp al, 2
jne 0x493006
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [esi + 1]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
push 0
cmp al, 4
jne 0x49303a
push edx
push 0
push 4
push 0
mov edx, 0x42
call fcn.00478930
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push 0
push edx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.0049e0d0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
call fcn.00478ac0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
test eax, eax
je 0x493105
movups xmm0, xmmword [eax]
lea edx, [esp + 0x70]
mov ecx, edi
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + 0x20]
lea eax, [esp + 0x24]
push eax
movups xmmword [esp + 0x94], xmm0
call fcn.004920d0
mov cl, byte [esp + 0x74]
add esp, 4
and dword [esp + 0x74], 0xffffefff
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x96], cl
push 0x30
push 0
push eax
mov byte [esp + 0x7c], 0x98
call fcn.00517340
lea eax, [esp + 0x7c]
mov byte [esp + 0x4c], 0x35
add esp, 0xc
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x40]
jmp 0x493107
xor edx, edx
mov eax, dword [esp + 0x34]
mov esi, dword [ebp + 8]
dec eax
test eax, eax
jle 0x49320b
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
inc dword [edi + 0x3c]
mov ecx, dword [eax]
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x50]
cmovne eax, ecx
cmove edx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
mov ecx, dword [edx + 0x44]
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x493184
mov edx, dword [edx + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x1c]
push 0
push eax
mov ecx, dword [ecx]
call fcn.00459770
mov edx, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x48], eax
mov eax, dword [edx + 0x48]
test eax, eax
je 0x493192
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x24]
not ecx
push 0x10
push ecx
push eax
push edi
mov dword [esp + 0x40], ecx
call fcn.00493c70
mov edx, dword [esp + 0x30]
mov ecx, edi
push esi
mov edx, dword [edx + 0x18]
call fcn.00493560
mov edx, dword [esp + 0x40]
add esp, 0x14
mov ecx, dword [esp + 0x14]
call fcn.004786f0
mov ecx, edi
call fcn.00491d50
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x4931ef
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, 0x30
sub dword [esp + 0x28], 1
mov dword [esp + 0x20], eax
jne 0x493123
jmp 0x49320f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
push esi
test al, 1
je 0x493239
inc dword [edi + 0x3c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x40]
mov ecx, edi
mov edx, dword [eax + edx*8 - 0x14]
call fcn.00493560
add esp, 4
mov ecx, edi
call fcn.00491d50
jmp 0x493248
push 0
mov edx, 0x46
call fcn.00478680
add esp, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x49326b
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [ebp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret