Function at 0x57ae0a
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x90
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x7c]
xor ecx, ecx
push edi
mov edi, dword [edx + 0xc]
mov dword [ebp + 0x60], eax
mov eax, dword [edx]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x64], eax
cmp edi, ecx
jne 0x57ae3d
xor eax, eax
jmp 0x57b7c8
push ebx
mov ebx, dword [ebp + 0x78]
push esi
cmp ebx, ecx
je 0x57b2a6
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x57b2ba
je 0x57b2a6
cmp esi, 0x46
jg 0x57b042
je case.0x57b2cd.146
cmp esi, 0x25
jg 0x57aeff
je 0x57aea2
mov eax, esi
sub eax, 0x13
je 0x57b24d
dec eax
je case.0x57b2cd.116
sub eax, 4
jne case.0x57b2cd.117
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.0057ae0a
jmp 0x57b334
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.0057ae0a
mov dword [ebp + 0x60], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.00556d9a
movsx esi, al
mov eax, dword [ebp + 0x7c]
add esi, 0x2c
cmp dword [ebp + 0x60], eax
je 0x57aedf
mov ebx, eax
push ebx
push dword [ebp + 0x60]
mov ecx, edi
push 0xf
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov dword [ebp + 0x60], ebx
push dword [ebp + 0x60]
mov eax, esi
mov ecx, edi
call fcn.0055c33b
mov esi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x74]
pop ecx
xor ecx, ecx
inc ecx
call fcn.00556a62
jmp 0x57b7b0
cmp esi, 0x38
je 0x57afeb
cmp esi, 0x3c
je 0x57af97
cmp esi, 0x43
jle case.0x57b2cd.117
cmp esi, 0x45
jle 0x57b273
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
and dword [ebp + 0x58], 0
mov dword [ebp + 0x3c], eax
mov eax, edi
mov dword [ebp + 0x64], ecx
call fcn.0055c35f
mov dword [ebp + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [ebp + 0x5c], eax
test eax, eax
je 0x57af78
push 0xc
pop ecx
mov esi, eax
push eax
push dword [ebp + 0x74]
lea edi, [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x4c]
call fcn.0055d737
and dword [ebp + 0x4c], 0
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
pop ecx
lea eax, [ebp - 0x24]
pop ecx
mov byte [ebp + 0xc], 0x84
mov byte [ebp - 0x24], 0x4c
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x3c], 0
jle 0x57b76c
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x64]
dec eax
shr eax, 1
inc eax
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x3c], eax
jmp 0x57b6fb
mov esi, dword [ebx + 0x28]
mov eax, dword [esi + 8]
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x7c]
inc eax
imul eax, dword [ebx + 0x18]
lea eax, [eax + ecx + 1]
push eax
push 0x6d
pop eax
mov ecx, edi
call fcn.0055c34c
movzx eax, word [ebx + 0x1c]
pop ecx
pop ecx
test ax, ax
jl 0x57b7b0
mov ecx, dword [esi + 0xc]
cwde
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x57b7b0
push dword [ebp + 0x7c]
mov ecx, edi
push 0x16
pop eax
call fcn.0055c33b
jmp 0x57b348
cmp dword [edx + 0x1ac], ecx
jne 0x57b007
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, edx
call fcn.0055a104
pop ecx
xor eax, eax
jmp 0x57b7c6
cmp byte [ebx + 1], 2
jne 0x57b014
mov ecx, edx
call fcn.00557051
mov al, byte [ebx + 1]
cmp al, 4
jne 0x57b02d
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push edi
push 6
jmp 0x57b23f
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.005652cc
jmp 0x57b30a
cmp esi, 0x50
jg 0x57b216
cmp esi, 0x4b
jge 0x57b1d9
cmp esi, 0x47
je 0x57b120
cmp esi, 0x48
je 0x57b0bd
jle case.0x57b2cd.117
cmp esi, 0x4a
jg case.0x57b2cd.117
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.0055c34c
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push dword [ebp + 0x74]
call fcn.0055d737
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.0055c33b
mov ecx, dword [ebp + 0x68]
push 0xffffffffffffffff
push dword [ebp + 0x7c]
mov esi, eax
push 0x14
pop eax
call fcn.0055c34c
mov ecx, dword [ebp + 0x68]
add esp, 0x1c
mov eax, esi
call fcn.00555afc
jmp 0x57b7b0
mov eax, edi
call fcn.0055c35f
mov esi, eax
mov eax, edi
call fcn.0055c35f
push dword [ebp + 0x7c]
mov dword [ebp + 0x5c], eax
push 0
push 0xa
pop eax
mov ecx, edi
call fcn.0055c34c
push dword [ebp + 0x5c]
push esi
push ebx
push dword [ebp + 0x74]
call fcn.00579481
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.0055c34c
mov edx, esi
mov ecx, edi
call fcn.005559cf
push 0
push dword [ebp + 0x7c]
mov ecx, edi
push 0x14
pop eax
call fcn.0055c34c
mov edx, dword [ebp + 0x5c]
add esp, 0x28
mov ecx, edi
jmp 0x57b7ab
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esi]
push eax
mov ebx, edx
push ebx
lea edi, [ebp + 0x4c]
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x5c], ecx
call fcn.0055d737
push dword [ebp + 0x5c]
lea edi, [ebp + 0x40]
push ebx
mov dword [ebp + 0x54], eax
call fcn.0055d737
mov edx, eax
mov eax, ebx
call fcn.00556ac9
mov dword [ebp + 0x64], eax
mov eax, ebx
call fcn.00556ac9
push 0x10
push dword [ebp + 0x64]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x5c]
push edx
push dword [ebp + 0x54]
mov edi, ebx
push 0x50
push dword [ebp + 0x50]
call fcn.00568354
mov edx, dword [ebp + 0x40]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.00556ae4
push esi
push ebx
lea edi, [ebp + 0x40]
call fcn.0055d737
push 0x10
push dword [ebp + 0x58]
mov edi, ebx
push eax
push dword [ebp + 0x54]
mov eax, esi
push 0x4e
push dword [ebp + 0x50]
call fcn.00568354
mov ecx, dword [ebp + 0x68]
add esp, 0x48
push dword [ebp + 0x7c]
push dword [ebp + 0x58]
push dword [ebp + 0x64]
push 0x45
pop eax
call fcn.0055c2b7
mov edx, dword [ebp + 0x64]
add esp, 0xc
mov eax, ebx
call fcn.00556ae4
mov edx, dword [ebp + 0x58]
call fcn.00556ae4
jmp 0x57b7b0
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.0055d737
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.0055d737
push 0x10
push dword [ebp + 0x7c]
push eax
push dword [ebp + 0x54]
push esi
push dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp + 0x74]
call fcn.00568354
add esp, 0x28
jmp 0x57b7b0
cmp esi, 0x52
jl case.0x57b2cd.117
cmp esi, 0x5b
jle 0x57b273
cmp esi, 0x5d
je 0x57b24d
cmp esi, 0x5e
jne case.0x57b2cd.117
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x7c]
push eax
push edi
push esi
pop eax
call fcn.00560b2c
add esp, 0x18
jmp 0x57b7b0
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.0055d737
mov ecx, dword [ebp + 0x7c]
push ecx
mov dword [ebp + 0x60], ecx
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.0055c34c
add esp, 0x10
jmp 0x57b7b0
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.0055d737
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.0055d737
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x54]
push eax
mov eax, esi
call fcn.0055c2b7
jmp 0x57b395
push dword [ebp + 0x7c]
mov ecx, edi
push 0
push 0xa
pop eax
call fcn.0055c34c
jmp 0x57b347
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja case.0x57b2cd.117
movzx ecx, byte [ecx + 0x57b806]
jmp dword [ecx*4 + 0x57b7ce]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], 0
jne 0x57b2f1
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x60], eax
jmp 0x57b7b0
cmp byte [ecx + 1], 0
je case.0x57b2cd.152
push dword [ebp + 0x7c]
push dword [eax + 0xc]
push dword [ecx + 4]
mov ecx, edi
push 0x1c
pop eax
call fcn.0055c2b7
add esp, 0xc
jmp 0x57b7b0
mov eax, dword [ebx + 0x18]
test eax, eax
jge 0x57b322
movsx eax, word [ebx + 0x1c]
add eax, dword [edx + 0x50]
jmp 0x57b2e9
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov edi, edx
push ecx
push dword [ebx + 0x28]
call fcn.0056c3c7
add esp, 0xc
jmp 0x57b2e9
push dword [ebp + 0x7c]
mov eax, ebx
push 0
mov ecx, edx
call fcn.00561370
pop ecx
pop ecx
jmp 0x57b7b0
push dword [ebp + 0x7c]
mov ecx, dword [ebx + 4]
push 0
push edi
call fcn.0056131b
jmp 0x57b30a
mov ebx, dword [ebx + 4]
inc ebx
inc ebx
mov ecx, ebx
call fcn.00551700
mov esi, eax
dec esi
push esi
mov eax, edi
call fcn.0055444f
mov ecx, eax
call fcn.0055a141
push 0xffffffffffffffff
push eax
push 0
push dword [ebp + 0x7c]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push edi
push 0xb
pop eax
call fcn.00560b2c
add esp, 0x1c
jmp 0x57b7b0
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov ecx, edi
push eax
push 0xc
pop eax
call fcn.0055c34c
mov ebx, dword [ebx + 4]
cmp byte [ebx + 1], 0
pop ecx
pop ecx
je 0x57b7b0
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.0055c595
jmp 0x57b30a
mov eax, dword [ebx + 0x18]
jmp 0x57b2e9
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.0055d737
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.0055d737
push 0x90
push dword [ebp + 0x7c]
push eax
push dword [ebp + 0x54]
xor eax, eax
cmp esi, 0x46
sete al
add eax, 0x4b
push eax
jmp 0x57b200
mov eax, dword [ebx + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x57b42b
push dword [ebp + 0x7c]
mov ecx, edx
push 1
call fcn.00561370
pop ecx
pop ecx
jmp 0x57b47d
cmp cl, 0x82
jne 0x57b443
push dword [ebp + 0x7c]
mov ecx, dword [eax + 4]
push 1
push edi
call fcn.0056131b
add esp, 0xc
jmp 0x57b47d
mov eax, edx
call fcn.00556ac9
push eax
push 0
mov dword [ebp + 0x4c], eax
push 7
pop eax
mov ecx, edi
call fcn.0055c34c
push dword [ebx + 8]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
call fcn.0055d737
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x4c]
push eax
push 0x57
pop eax
call fcn.0055c2b7
add esp, 0x1c
mov eax, dword [ebp + 0x7c]
jmp 0x57b2e9
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x57b4a0
push dword [ebx + 4]
mov edi, edx
push str.misuse_of_aggregate:__s__
call fcn.0055a104
jmp 0x57b347
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x57b2e9
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
xor ecx, ecx
mov byte [ebp + 0x58], al
mov eax, 0x2000
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x3c], ecx
test word [ebx + 2], ax
je 0x57b516
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], ecx
mov esi, dword [ebx + 4]
mov ecx, esi
call fcn.00551700
push 0
push dword [ebp + 0x58]
mov dword [ebp + 0x54], eax
push dword [ebp + 0x48]
push esi
push dword [ebp + 0x64]
call fcn.00561b59
add esp, 0x14
mov dword [ebp + 0x50], eax
test eax, eax
jne 0x57b527
mov edi, dword [ebp + 0x74]
push esi
push dword [ebp + 0x54]
push str.unknown_function:__.s__
call fcn.0055a104
jmp 0x57b30a
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x44], eax
cmp eax, ecx
je 0x57b4d5
mov eax, dword [eax]
mov dword [ebp + 0x48], eax
jmp 0x57b4d8
test byte [eax + 3], 0x40
je 0x57b5ac
mov eax, edi
call fcn.0055c35f
mov ebx, dword [ebp + 0x44]
mov edi, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x74]
mov dword [ebp + 0x64], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
call fcn.0055d772
mov eax, dword [ebp + 0x48]
cmp eax, 1
jle 0x57b5a4
dec eax
mov dword [ebp + 0x7c], 0x14
mov dword [ebp + 0x5c], eax
push dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
push edi
push 0x4a
pop eax
call fcn.0055c34c
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov esi, edi
call fcn.005569d5
call fcn.005569fe
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + eax]
mov esi, dword [ebp + 0x74]
call fcn.0055d772
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.00556a02
add dword [ebp + 0x7c], 0x14
dec dword [ebp + 0x5c]
jne 0x57b55d
mov edx, dword [ebp + 0x64]
jmp 0x57b7a8
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x57b5e8
mov esi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x74]
call fcn.00556b18
mov ecx, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x54], ecx
call fcn.005569fe
push 1
push eax
mov eax, dword [ebp + 0x44]
call fcn.0055d840
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.00556a02
mov eax, dword [ebp + 0x44]
jmp 0x57b5ec
and dword [ebp + 0x54], 0
mov ecx, dword [ebp + 0x48]
cmp ecx, 2
jl 0x57b602
test byte [ebx + 2], 0x80
je 0x57b602
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x57b60b
test ecx, ecx
jle 0x57b61d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push ecx
push dword [ebp + 0x50]
push dword [ebp + 0x64]
call fcn.0056330d
mov dword [ebp + 0x50], eax
add esp, 0xc
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x48], 0
mov ebx, dword [ebp + 0x3c]
jle 0x57b681
xor esi, esi
cmp dword [ebp + 0x58], 0x20
jge 0x57b650
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
push dword [eax + esi]
call fcn.0055d665
pop ecx
test eax, eax
je 0x57b650
mov ecx, dword [ebp + 0x58]
xor eax, eax
inc eax
shl eax, cl
or dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x50]
test byte [eax + 3], 8
je 0x57b673
test ebx, ebx
jne 0x57b673
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + esi]
mov ebx, dword [ebp + 0x74]
call fcn.0056828e
mov edi, dword [ebp + 0x68]
mov ebx, eax
inc dword [ebp + 0x58]
mov eax, dword [ebp + 0x58]
add esi, 0x14
cmp eax, dword [ebp + 0x48]
jl 0x57b62c
mov esi, dword [ebp + 0x50]
test byte [esi + 3], 8
je 0x57b6a8
xor eax, eax
cmp ebx, eax
jne 0x57b696
mov ecx, dword [ebp + 0x64]
mov ebx, dword [ecx + 0x2c]
push 0xfffffffffffffffc
push ebx
push eax
push eax
push eax
push edi
push 0x11
pop eax
call fcn.00560b2c
add esp, 0x18
push 0xfffffffffffffffb
push esi
push dword [ebp + 0x7c]
push dword [ebp + 0x54]
push dword [ebp + 0x5c]
push edi
push 0x12
pop eax
call fcn.00560b2c
mov dl, byte [ebp + 0x48]
add esp, 0x18
mov ecx, edi
call fcn.00555aea
cmp dword [ebp + 0x48], 0
je 0x57b7b0
mov edi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x74]
call fcn.00556b3c
jmp 0x57b7b0
push 0
push 0
push ebx
mov eax, edx
call fcn.005683a7
jmp 0x57b334
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x74]
call fcn.005569fe
cmp dword [ebp + 0x5c], 0
mov eax, dword [ecx]
je 0x57b710
mov dword [ebp - 0x18], eax
jmp 0x57b713
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x68]
call fcn.0055c35f
mov esi, dword [ebp + 0x74]
push 8
push eax
push dword [ebp + 0x58]
mov dword [ebp + 0x44], eax
push esi
call fcn.0057987d
mov eax, dword [ebp + 0x64]
mov edi, dword [ebp + 0x7c]
mov eax, dword [eax + 0x14]
call fcn.0055d772
push dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
xor eax, eax
push 0
inc eax
call fcn.0055c34c
xor ecx, ecx
add esp, 0x18
inc ecx
mov eax, esi
call fcn.00556a02
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x68]
call fcn.005559cf
add dword [ebp + 0x64], 0x28
dec dword [ebp + 0x3c]
jne 0x57b6f8
cmp dword [ebx + 0xc], 0
je 0x57b793
mov esi, dword [ebp + 0x74]
mov eax, esi
call fcn.005569fe
mov edi, dword [ebp + 0x7c]
mov eax, dword [ebx + 0xc]
call fcn.0055d772
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.00556a02
jmp 0x57b7a5
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push 0
push 0xa
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
call fcn.005559cf
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x74]
call fcn.00556ae4
mov edx, dword [ebp + 0x40]
call fcn.00556ae4
mov eax, dword [ebp + 0x60]
pop esi
pop ebx
pop edi
add ebp, 0x6c
leave
ret