Function at 0x474d0b
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 0x474d3e
xor eax, eax
jmp 0x4756c9
push ebx
mov ebx, dword [ebp + 0x78]
push esi
cmp ebx, ecx
je 0x4751a7
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x4751bb
je 0x4751a7
cmp esi, 0x46
jg 0x474f43
je case.0x4751ce.146
cmp esi, 0x25
jg 0x474e00
je 0x474da3
mov eax, esi
sub eax, 0x13
je 0x47514e
dec eax
je case.0x4751ce.116
sub eax, 4
jne case.0x4751ce.117
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.00474d0b
jmp 0x475235
push dword [ebp + 0x7c]
push dword [ebx + 8]
push edx
call fcn.00474d0b
mov dword [ebp + 0x60], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.00450c9c
movsx esi, al
mov eax, dword [ebp + 0x7c]
add esi, 0x2c
cmp dword [ebp + 0x60], eax
je 0x474de0
mov ebx, eax
push ebx
push dword [ebp + 0x60]
mov ecx, edi
push 0xf
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov dword [ebp + 0x60], ebx
push dword [ebp + 0x60]
mov eax, esi
mov ecx, edi
call fcn.0045623c
mov esi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x74]
pop ecx
xor ecx, ecx
inc ecx
call fcn.00450964
jmp 0x4756b1
cmp esi, 0x38
je 0x474eec
cmp esi, 0x3c
je 0x474e98
cmp esi, 0x43
jle case.0x4751ce.117
cmp esi, 0x45
jle 0x475174
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.00456260
mov dword [ebp + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [ebp + 0x5c], eax
test eax, eax
je 0x474e79
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.00457638
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 0x47566d
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 0x4755fc
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.0045624d
movzx eax, word [ebx + 0x1c]
pop ecx
pop ecx
test ax, ax
jl 0x4756b1
mov ecx, dword [esi + 0xc]
cwde
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x4756b1
push dword [ebp + 0x7c]
mov ecx, edi
push 0x16
pop eax
call fcn.0045623c
jmp 0x475249
cmp dword [edx + 0x1ac], ecx
jne 0x474f08
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, edx
call fcn.00454005
pop ecx
xor eax, eax
jmp 0x4756c7
cmp byte [ebx + 1], 2
jne 0x474f15
mov ecx, edx
call fcn.00450f53
mov al, byte [ebx + 1]
cmp al, 4
jne 0x474f2e
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push edi
push 6
jmp 0x475140
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.0045f1cd
jmp 0x47520b
cmp esi, 0x50
jg 0x475117
cmp esi, 0x4b
jge 0x4750da
cmp esi, 0x47
je 0x475021
cmp esi, 0x48
je 0x474fbe
jle case.0x4751ce.117
cmp esi, 0x4a
jg case.0x4751ce.117
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.0045624d
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push dword [ebp + 0x74]
call fcn.00457638
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.0045623c
mov ecx, dword [ebp + 0x68]
push 0xffffffffffffffff
push dword [ebp + 0x7c]
mov esi, eax
push 0x14
pop eax
call fcn.0045624d
mov ecx, dword [ebp + 0x68]
add esp, 0x1c
mov eax, esi
call fcn.0044f9fb
jmp 0x4756b1
mov eax, edi
call fcn.00456260
mov esi, eax
mov eax, edi
call fcn.00456260
push dword [ebp + 0x7c]
mov dword [ebp + 0x5c], eax
push 0
push 0xa
pop eax
mov ecx, edi
call fcn.0045624d
push dword [ebp + 0x5c]
push esi
push ebx
push dword [ebp + 0x74]
call fcn.00473382
push dword [ebp + 0x7c]
mov ecx, edi
push 1
push 7
pop eax
call fcn.0045624d
mov edx, esi
mov ecx, edi
call fcn.0044f8ce
push 0
push dword [ebp + 0x7c]
mov ecx, edi
push 0x14
pop eax
call fcn.0045624d
mov edx, dword [ebp + 0x5c]
add esp, 0x28
mov ecx, edi
jmp 0x4756ac
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.00457638
push dword [ebp + 0x5c]
lea edi, [ebp + 0x40]
push ebx
mov dword [ebp + 0x54], eax
call fcn.00457638
mov edx, eax
mov eax, ebx
call fcn.004509cb
mov dword [ebp + 0x64], eax
mov eax, ebx
call fcn.004509cb
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.00462255
mov edx, dword [ebp + 0x40]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.004509e6
push esi
push ebx
lea edi, [ebp + 0x40]
call fcn.00457638
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.00462255
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.004561b8
mov edx, dword [ebp + 0x64]
add esp, 0xc
mov eax, ebx
call fcn.004509e6
mov edx, dword [ebp + 0x58]
call fcn.004509e6
jmp 0x4756b1
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.00457638
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.00457638
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.00462255
add esp, 0x28
jmp 0x4756b1
cmp esi, 0x52
jl case.0x4751ce.117
cmp esi, 0x5b
jle 0x475174
cmp esi, 0x5d
je 0x47514e
cmp esi, 0x5e
jne case.0x4751ce.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.0045aa2d
add esp, 0x18
jmp 0x4756b1
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.00457638
mov ecx, dword [ebp + 0x7c]
push ecx
mov dword [ebp + 0x60], ecx
mov ecx, dword [ebp + 0x68]
push eax
mov eax, esi
call fcn.0045624d
add esp, 0x10
jmp 0x4756b1
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.00457638
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.00457638
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x54]
push eax
mov eax, esi
call fcn.004561b8
jmp 0x475296
push dword [ebp + 0x7c]
mov ecx, edi
push 0
push 0xa
pop eax
call fcn.0045624d
jmp 0x475248
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja case.0x4751ce.117
movzx ecx, byte [ecx + 0x475707]
jmp dword [ecx*4 + 0x4756cf]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], 0
jne 0x4751f2
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x60], eax
jmp 0x4756b1
cmp byte [ecx + 1], 0
je case.0x4751ce.152
push dword [ebp + 0x7c]
push dword [eax + 0xc]
push dword [ecx + 4]
mov ecx, edi
push 0x1c
pop eax
call fcn.004561b8
add esp, 0xc
jmp 0x4756b1
mov eax, dword [ebx + 0x18]
test eax, eax
jge 0x475223
movsx eax, word [ebx + 0x1c]
add eax, dword [edx + 0x50]
jmp 0x4751ea
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov edi, edx
push ecx
push dword [ebx + 0x28]
call fcn.004662c8
add esp, 0xc
jmp 0x4751ea
push dword [ebp + 0x7c]
mov eax, ebx
push 0
mov ecx, edx
call fcn.0045b271
pop ecx
pop ecx
jmp 0x4756b1
push dword [ebp + 0x7c]
mov ecx, dword [ebx + 4]
push 0
push edi
call fcn.0045b21c
jmp 0x47520b
mov ebx, dword [ebx + 4]
inc ebx
inc ebx
mov ecx, ebx
call fcn.0044b602
mov esi, eax
dec esi
push esi
mov eax, edi
call fcn.0044ff43
mov ecx, eax
call fcn.00454042
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.0045aa2d
add esp, 0x1c
jmp 0x4756b1
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x7c]
mov ecx, edi
push eax
push 0xc
pop eax
call fcn.0045624d
mov ebx, dword [ebx + 4]
cmp byte [ebx + 1], 0
pop ecx
pop ecx
je 0x4756b1
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.00456496
jmp 0x47520b
mov eax, dword [ebx + 0x18]
jmp 0x4751ea
push dword [ebx + 8]
lea edi, [ebp + 0x4c]
push edx
call fcn.00457638
push dword [ebx + 0xc]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
mov dword [ebp + 0x54], eax
call fcn.00457638
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 0x475101
mov eax, dword [ebx + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x47532c
push dword [ebp + 0x7c]
mov ecx, edx
push 1
call fcn.0045b271
pop ecx
pop ecx
jmp 0x47537e
cmp cl, 0x82
jne 0x475344
push dword [ebp + 0x7c]
mov ecx, dword [eax + 4]
push 1
push edi
call fcn.0045b21c
add esp, 0xc
jmp 0x47537e
mov eax, edx
call fcn.004509cb
push eax
push 0
mov dword [ebp + 0x4c], eax
push 7
pop eax
mov ecx, edi
call fcn.0045624d
push dword [ebx + 8]
lea edi, [ebp + 0x40]
push dword [ebp + 0x74]
call fcn.00457638
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push dword [ebp + 0x4c]
push eax
push 0x57
pop eax
call fcn.004561b8
add esp, 0x1c
mov eax, dword [ebp + 0x7c]
jmp 0x4751ea
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4753a1
push dword [ebx + 4]
mov edi, edx
push str.misuse_of_aggregate:__s__
call fcn.00454005
jmp 0x475248
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x4751ea
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 0x475417
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], ecx
mov esi, dword [ebx + 4]
mov ecx, esi
call fcn.0044b602
push 0
push dword [ebp + 0x58]
mov dword [ebp + 0x54], eax
push dword [ebp + 0x48]
push esi
push dword [ebp + 0x64]
call fcn.0045ba5a
add esp, 0x14
mov dword [ebp + 0x50], eax
test eax, eax
jne 0x475428
mov edi, dword [ebp + 0x74]
push esi
push dword [ebp + 0x54]
push str.unknown_function:__.s__
call fcn.00454005
jmp 0x47520b
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x44], eax
cmp eax, ecx
je 0x4753d6
mov eax, dword [eax]
mov dword [ebp + 0x48], eax
jmp 0x4753d9
test byte [eax + 3], 0x40
je 0x4754ad
mov eax, edi
call fcn.00456260
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.00457673
mov eax, dword [ebp + 0x48]
cmp eax, 1
jle 0x4754a5
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.0045624d
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov esi, edi
call fcn.004508d7
call fcn.00450900
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + eax]
mov esi, dword [ebp + 0x74]
call fcn.00457673
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.00450904
add dword [ebp + 0x7c], 0x14
dec dword [ebp + 0x5c]
jne 0x47545e
mov edx, dword [ebp + 0x64]
jmp 0x4756a9
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x4754e9
mov esi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x74]
call fcn.00450a1a
mov ecx, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x54], ecx
call fcn.00450900
push 1
push eax
mov eax, dword [ebp + 0x44]
call fcn.00457741
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.00450904
mov eax, dword [ebp + 0x44]
jmp 0x4754ed
and dword [ebp + 0x54], 0
mov ecx, dword [ebp + 0x48]
cmp ecx, 2
jl 0x475503
test byte [ebx + 2], 0x80
je 0x475503
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x47550c
test ecx, ecx
jle 0x47551e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push ecx
push dword [ebp + 0x50]
push dword [ebp + 0x64]
call fcn.0045d20e
mov dword [ebp + 0x50], eax
add esp, 0xc
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x48], 0
mov ebx, dword [ebp + 0x3c]
jle 0x475582
xor esi, esi
cmp dword [ebp + 0x58], 0x20
jge 0x475551
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
push dword [eax + esi]
call fcn.00457566
pop ecx
test eax, eax
je 0x475551
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 0x475574
test ebx, ebx
jne 0x475574
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + esi]
mov ebx, dword [ebp + 0x74]
call fcn.0046218f
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 0x47552d
mov esi, dword [ebp + 0x50]
test byte [esi + 3], 8
je 0x4755a9
xor eax, eax
cmp ebx, eax
jne 0x475597
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.0045aa2d
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.0045aa2d
mov dl, byte [ebp + 0x48]
add esp, 0x18
mov ecx, edi
call fcn.0044f9e9
cmp dword [ebp + 0x48], 0
je 0x4756b1
mov edi, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x74]
call fcn.00450a3e
jmp 0x4756b1
push 0
push 0
push ebx
mov eax, edx
call fcn.004622a8
jmp 0x475235
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x74]
call fcn.00450900
cmp dword [ebp + 0x5c], 0
mov eax, dword [ecx]
je 0x475611
mov dword [ebp - 0x18], eax
jmp 0x475614
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x68]
call fcn.00456260
mov esi, dword [ebp + 0x74]
push 8
push eax
push dword [ebp + 0x58]
mov dword [ebp + 0x44], eax
push esi
call fcn.0047377e
mov eax, dword [ebp + 0x64]
mov edi, dword [ebp + 0x7c]
mov eax, dword [eax + 0x14]
call fcn.00457673
push dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
xor eax, eax
push 0
inc eax
call fcn.0045624d
xor ecx, ecx
add esp, 0x18
inc ecx
mov eax, esi
call fcn.00450904
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x68]
call fcn.0044f8ce
add dword [ebp + 0x64], 0x28
dec dword [ebp + 0x3c]
jne 0x4755f9
cmp dword [ebx + 0xc], 0
je 0x475694
mov esi, dword [ebp + 0x74]
mov eax, esi
call fcn.00450900
mov edi, dword [ebp + 0x7c]
mov eax, dword [ebx + 0xc]
call fcn.00457673
xor ecx, ecx
inc ecx
mov eax, esi
call fcn.00450904
jmp 0x4756a6
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
push 0
push 0xa
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
call fcn.0044f8ce
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x74]
call fcn.004509e6
mov edx, dword [ebp + 0x40]
call fcn.004509e6
mov eax, dword [ebp + 0x60]
pop esi
pop ebx
pop edi
add ebp, 0x6c
leave
ret