Function at 0x4c1de9
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 0x4c1e1c
xor eax, eax
jmp 0x4c27a7
push ebx
mov ebx, dword [ebp + 0x78]
push esi
cmp ebx, ecx
je 0x4c2285
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x4c2299
je 0x4c2285
cmp esi, 0x46
jg 0x4c2021
je case.0x4c22ac.146
cmp esi, 0x25
jg 0x4c1ede
je 0x4c1e81
mov eax, esi
sub eax, 0x13
je 0x4c222c
dec eax
je case.0x4c22ac.116
sub eax, 4
jne case.0x4c22ac.117
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.004c1de9
jmp 0x4c2313
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.004c1de9
mov dword [ebp + 0x60], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.0049dd7a
movsx esi, al
mov eax, dword [ebp + 0x7c]
add esi, 0x2c
cmp dword [ebp + 0x60], eax
je 0x4c1ebe
mov ebx, eax
push ebx
push dword [ebp + 0x60]
mov ecx, edi
push 0xf
pop eax
call fcn.004a332b
pop ecx
pop ecx
mov dword [ebp + 0x60], ebx
push dword [ebp + 0x60]
mov eax, esi
mov ecx, edi
call fcn.004a331a
mov esi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x74]
pop ecx
xor ecx, ecx
inc ecx
call fcn.0049da42
jmp 0x4c278f
cmp esi, 0x38
je 0x4c1fca
cmp esi, 0x3c
je 0x4c1f76
cmp esi, 0x43
jle case.0x4c22ac.117
cmp esi, 0x45
jle 0x4c2252
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.004a333e
mov dword [ebp + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [ebp + 0x5c], eax
test eax, eax
je 0x4c1f57
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.004a4716
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 0x4c274b
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 0x4c26da
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.004a332b
movzx eax, word [ebx + 0x1c]
pop ecx
pop ecx
test ax, ax
jl 0x4c278f
mov ecx, dword [esi + 0xc]
cwde
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x4c278f
push dword [ebp + 0x7c]
mov ecx, edi
push 0x16
pop eax
call fcn.004a331a
jmp 0x4c2327
cmp dword [edx + 0x1ac], ecx
jne 0x4c1fe6
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, edx
call fcn.004a10e3
pop ecx
xor eax, eax
jmp 0x4c27a5
cmp byte [ebx + 1], 2
jne 0x4c1ff3
mov ecx, edx
call fcn.0049e031
mov al, byte [ebx + 1]
cmp al, 4
jne 0x4c200c
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push edi
push 6
jmp 0x4c221e
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.004ac2ab
jmp 0x4c22e9
cmp esi, 0x50
jg 0x4c21f5
cmp esi, 0x4b
jge 0x4c21b8
cmp esi, 0x47
je 0x4c20ff
cmp esi, 0x48
je 0x4c209c
jle case.0x4c22ac.117
cmp esi, 0x4a
jg case.0x4c22ac.117
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.004a332b
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push dword [ebp + 0x74]
call fcn.004a4716
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.004a331a
mov ecx, dword [ebp + 0x68]
push 0xffffffffffffffff
push dword [ebp + 0x7c]
mov esi, eax
push 0x14
pop eax
call fcn.004a332b
mov ecx, dword [ebp + 0x68]
add esp, 0x1c
mov eax, esi
call fcn.0049cada
jmp 0x4c278f
mov eax, edi
call fcn.004a333e
mov esi, eax
mov eax, edi
call fcn.004a333e
push dword [ebp + 0x7c]
mov dword [ebp + 0x5c], eax
push 0
push 0xa
pop eax
mov ecx, edi
call fcn.004a332b
push dword [ebp + 0x5c]
push esi
push ebx
push dword [ebp + 0x74]
call fcn.004c0460
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.004a332b
mov edx, esi
mov ecx, edi
call fcn.0049c9ad
push 0
push dword [ebp + 0x7c]
mov ecx, edi
push 0x14
pop eax
call fcn.004a332b
mov edx, dword [ebp + 0x5c]
add esp, 0x28
mov ecx, edi
jmp 0x4c278a
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.004a4716
push dword [ebp + 0x5c]
lea edi, [ebp + 0x40]
push ebx
mov dword [ebp + 0x54], eax
call fcn.004a4716
mov edx, eax
mov eax, ebx
call fcn.0049daa9
mov dword [ebp + 0x64], eax
mov eax, ebx
call fcn.0049daa9
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.004af333
mov edx, dword [ebp + 0x40]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.0049dac4
push esi
push ebx
lea edi, [ebp + 0x40]
call fcn.004a4716
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.004af333
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.004a3296
mov edx, dword [ebp + 0x64]
add esp, 0xc
mov eax, ebx
call fcn.0049dac4
mov edx, dword [ebp + 0x58]
call fcn.0049dac4
jmp 0x4c278f
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.004a4716
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.004a4716
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.004af333
add esp, 0x28
jmp 0x4c278f
cmp esi, 0x52
jl case.0x4c22ac.117
cmp esi, 0x5b
jle 0x4c2252
cmp esi, 0x5d
je 0x4c222c
cmp esi, 0x5e
jne case.0x4c22ac.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.004a7b0b
add esp, 0x18
jmp 0x4c278f
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.004a4716
mov ecx, dword [ebp + 0x7c]
push ecx
mov dword [ebp + 0x60], ecx
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.004a332b
add esp, 0x10
jmp 0x4c278f
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.004a4716
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.004a4716
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x54]
push eax
mov eax, esi
call fcn.004a3296
jmp 0x4c2374
push dword [ebp + 0x7c]
mov ecx, edi
push 0
push 0xa
pop eax
call fcn.004a332b
jmp 0x4c2326
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja case.0x4c22ac.117
movzx ecx, byte [ecx + 0x4c27e5]
jmp dword [ecx*4 + 0x4c27ad]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], 0
jne 0x4c22d0
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x60], eax
jmp 0x4c278f
cmp byte [ecx + 1], 0
je case.0x4c22ac.152
push dword [ebp + 0x7c]
push dword [eax + 0xc]
push dword [ecx + 4]
mov ecx, edi
push 0x1c
pop eax
call fcn.004a3296
add esp, 0xc
jmp 0x4c278f
mov eax, dword [ebx + 0x18]
test eax, eax
jge 0x4c2301
movsx eax, word [ebx + 0x1c]
add eax, dword [edx + 0x50]
jmp 0x4c22c8
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov edi, edx
push ecx
push dword [ebx + 0x28]
call fcn.004b33a6
add esp, 0xc
jmp 0x4c22c8
push dword [ebp + 0x7c]
mov eax, ebx
push 0
mov ecx, edx
call fcn.004a834f
pop ecx
pop ecx
jmp 0x4c278f
push dword [ebp + 0x7c]
mov ecx, dword [ebx + 4]
push 0
push edi
call fcn.004a82fa
jmp 0x4c22e9
mov ebx, dword [ebx + 4]
inc ebx
inc ebx
mov ecx, ebx
call fcn.004986de
mov esi, eax
dec esi
push esi
mov eax, edi
call fcn.00499fdf
mov ecx, eax
call fcn.004a1120
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.004a7b0b
add esp, 0x1c
jmp 0x4c278f
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov ecx, edi
push eax
push 0xc
pop eax
call fcn.004a332b
mov ebx, dword [ebx + 4]
cmp byte [ebx + 1], 0
pop ecx
pop ecx
je 0x4c278f
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.004a3574
jmp 0x4c22e9
mov eax, dword [ebx + 0x18]
jmp 0x4c22c8
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.004a4716
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.004a4716
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 0x4c21df
mov eax, dword [ebx + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x4c240a
push dword [ebp + 0x7c]
mov ecx, edx
push 1
call fcn.004a834f
pop ecx
pop ecx
jmp 0x4c245c
cmp cl, 0x82
jne 0x4c2422
push dword [ebp + 0x7c]
mov ecx, dword [eax + 4]
push 1
push edi
call fcn.004a82fa
add esp, 0xc
jmp 0x4c245c
mov eax, edx
call fcn.0049daa9
push eax
push 0
mov dword [ebp + 0x4c], eax
push 7
pop eax
mov ecx, edi
call fcn.004a332b
push dword [ebx + 8]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
call fcn.004a4716
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x4c]
push eax
push 0x57
pop eax
call fcn.004a3296
add esp, 0x1c
mov eax, dword [ebp + 0x7c]
jmp 0x4c22c8
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4c247f
push dword [ebx + 4]
mov edi, edx
push str.misuse_of_aggregate:__s__
call fcn.004a10e3
jmp 0x4c2326
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x4c22c8
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 0x4c24f5
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], ecx
mov esi, dword [ebx + 4]
mov ecx, esi
call fcn.004986de
push 0
push dword [ebp + 0x58]
mov dword [ebp + 0x54], eax
push dword [ebp + 0x48]
push esi
push dword [ebp + 0x64]
call fcn.004a8b38
add esp, 0x14
mov dword [ebp + 0x50], eax
test eax, eax
jne 0x4c2506
mov edi, dword [ebp + 0x74]
push esi
push dword [ebp + 0x54]
push str.unknown_function:__.s__
call fcn.004a10e3
jmp 0x4c22e9
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x44], eax
cmp eax, ecx
je 0x4c24b4
mov eax, dword [eax]
mov dword [ebp + 0x48], eax
jmp 0x4c24b7
test byte [eax + 3], 0x40
je 0x4c258b
mov eax, edi
call fcn.004a333e
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.004a4751
mov eax, dword [ebp + 0x48]
cmp eax, 1
jle 0x4c2583
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.004a332b
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov esi, edi
call fcn.0049d9b5
call fcn.0049d9de
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + eax]
mov esi, dword [ebp + 0x74]
call fcn.004a4751
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.0049d9e2
add dword [ebp + 0x7c], 0x14
dec dword [ebp + 0x5c]
jne 0x4c253c
mov edx, dword [ebp + 0x64]
jmp 0x4c2787
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x4c25c7
mov esi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x74]
call fcn.0049daf8
mov ecx, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x54], ecx
call fcn.0049d9de
push 1
push eax
mov eax, dword [ebp + 0x44]
call fcn.004a481f
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.0049d9e2
mov eax, dword [ebp + 0x44]
jmp 0x4c25cb
and dword [ebp + 0x54], 0
mov ecx, dword [ebp + 0x48]
cmp ecx, 2
jl 0x4c25e1
test byte [ebx + 2], 0x80
je 0x4c25e1
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x4c25ea
test ecx, ecx
jle 0x4c25fc
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push ecx
push dword [ebp + 0x50]
push dword [ebp + 0x64]
call fcn.004aa2ec
mov dword [ebp + 0x50], eax
add esp, 0xc
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x48], 0
mov ebx, dword [ebp + 0x3c]
jle 0x4c2660
xor esi, esi
cmp dword [ebp + 0x58], 0x20
jge 0x4c262f
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
push dword [eax + esi]
call fcn.004a4644
pop ecx
test eax, eax
je 0x4c262f
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 0x4c2652
test ebx, ebx
jne 0x4c2652
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + esi]
mov ebx, dword [ebp + 0x74]
call fcn.004af26d
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 0x4c260b
mov esi, dword [ebp + 0x50]
test byte [esi + 3], 8
je 0x4c2687
xor eax, eax
cmp ebx, eax
jne 0x4c2675
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.004a7b0b
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.004a7b0b
mov dl, byte [ebp + 0x48]
add esp, 0x18
mov ecx, edi
call fcn.0049cac8
cmp dword [ebp + 0x48], 0
je 0x4c278f
mov edi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x74]
call fcn.0049db1c
jmp 0x4c278f
push 0
push 0
push ebx
mov eax, edx
call fcn.004af386
jmp 0x4c2313
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x74]
call fcn.0049d9de
cmp dword [ebp + 0x5c], 0
mov eax, dword [ecx]
je 0x4c26ef
mov dword [ebp - 0x18], eax
jmp 0x4c26f2
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x68]
call fcn.004a333e
mov esi, dword [ebp + 0x74]
push 8
push eax
push dword [ebp + 0x58]
mov dword [ebp + 0x44], eax
push esi
call fcn.004c085c
mov eax, dword [ebp + 0x64]
mov edi, dword [ebp + 0x7c]
mov eax, dword [eax + 0x14]
call fcn.004a4751
push dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
xor eax, eax
push 0
inc eax
call fcn.004a332b
xor ecx, ecx
add esp, 0x18
inc ecx
mov eax, esi
call fcn.0049d9e2
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x68]
call fcn.0049c9ad
add dword [ebp + 0x64], 0x28
dec dword [ebp + 0x3c]
jne 0x4c26d7
cmp dword [ebx + 0xc], 0
je 0x4c2772
mov esi, dword [ebp + 0x74]
mov eax, esi
call fcn.0049d9de
mov edi, dword [ebp + 0x7c]
mov eax, dword [ebx + 0xc]
call fcn.004a4751
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.0049d9e2
jmp 0x4c2784
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push 0
push 0xa
pop eax
call fcn.004a332b
pop ecx
pop ecx
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
call fcn.0049c9ad
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x74]
call fcn.0049dac4
mov edx, dword [ebp + 0x40]
call fcn.0049dac4
mov eax, dword [ebp + 0x60]
pop esi
pop ebx
pop edi
add ebp, 0x6c
leave
ret