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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
xor edx, edx
push edi
mov edi, dword [esi + 0xc]
cmp edi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
jne 0x428029
xor eax, eax
jmp 0x42874b
mov ebx, dword [ebp + 0xc]
cmp ebx, edx
je 0x428444
movzx eax, byte [ebx]
cmp eax, 0x62
mov dword [esp + 0xc], eax
jg 0x42844f
je 0x428444
cmp eax, 0x47
jg 0x428281
je 0x4281b5
cmp eax, 0x38
jg 0x4280e5
je 0x428091
sub eax, 0x13
je 0x428419
dec eax
je case.0x428462.116
sub eax, 4
jne case.0x428462.117
push dword [ebp + 0x10]
push dword [ebx + 8]
push esi
call fcn.00427fee
add esp, 0xc
jmp 0x42847d
cmp dword [esi + 0x1a4], edx
jne 0x4280ab
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, esi
call fcn.00411d11
pop ecx
jmp 0x428022
cmp byte [ebx + 1], 2
jne 0x4280b8
mov ecx, esi
call fcn.0042dba7
mov al, byte [ebx + 1]
cmp al, 4
jne 0x4280d0
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x42840b
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, esi
call fcn.0042dbbb
jmp 0x4284da
cmp eax, 0x3c
je 0x428190
cmp eax, 0x43
jle case.0x428462.117
cmp eax, 0x45
jle 0x4283b9
cmp eax, 0x46
je case.0x428462.146
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
and dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov eax, edi
mov dword [esp + 0xc], ecx
call fcn.0041e790
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x18], eax
je 0x42816f
push 0xc
pop ecx
mov esi, eax
push eax
push dword [ebp + 8]
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x34]
call fcn.004289dc
and dword [esp + 0x34], 0
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
pop ecx
lea eax, [esp + 0x6c]
pop ecx
mov byte [esp + 0x38], 0x84
mov byte [esp + 0x68], 0x4c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x42893c
mov ecx, dword [esp + 0xc]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jmp 0x4288c6
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x10]
inc eax
imul eax, dword [ebx + 0x18]
lea eax, [eax + ecx + 1]
push eax
push 0x6d
mov eax, edi
call fcn.0041e718
jmp 0x4284da
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ebx]
push eax
push esi
lea edi, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
call fcn.004289dc
push dword [esp + 0x20]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.004289dc
mov edx, eax
mov eax, esi
call fcn.004294e0
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.004294e0
push 0x10
push dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push edx
push dword [esp + 0x3c]
mov edi, esi
push 0x50
push dword [esp + 0x30]
call fcn.0042666e
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebx + 0x14]
mov eax, esi
call fcn.004294fb
push ebx
push esi
lea edi, [esp + 0x64]
call fcn.004289dc
push 0x10
push dword [esp + 0x50]
mov edi, esi
push eax
push dword [esp + 0x5c]
mov eax, ebx
push 0x4e
push dword [esp + 0x50]
call fcn.0042666e
mov eax, dword [esp + 0x5c]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x18]
push 0x45
call fcn.0041e69a
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
call fcn.004294fb
mov edx, dword [esp + 0x1c]
call fcn.004294fb
jmp 0x428733
cmp eax, 0x5b
jg 0x4283f4
cmp eax, 0x52
jge 0x4283b9
cmp eax, 0x48
je 0x428343
jle case.0x428462.117
cmp eax, 0x4a
jle 0x4282f1
cmp eax, 0x50
jg case.0x428462.117
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.004289dc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.004289dc
push 0x10
push dword [ebp + 0x10]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, esi
call fcn.0042666e
add esp, 0x28
jmp 0x428733
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.0041e69a
push dword [ebx + 8]
lea edi, [esp + 0x40]
push esi
call fcn.004289dc
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.0041e703
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x40]
push 0x14
call fcn.0041e69a
mov edx, dword [esp + 0x44]
add esp, 0x30
mov eax, edi
call fcn.0041e942
jmp 0x428733
mov eax, edi
call fcn.0041e790
mov dword [esp + 0x18], eax
mov eax, edi
call fcn.0041e790
push 0
push dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push 0
push 0xa
mov eax, edi
call fcn.0041e69a
push dword [esp + 0x20]
mov eax, ebx
push dword [esp + 0x2c]
push esi
call fcn.00427b33
add esp, 0x1c
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.0041e69a
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.0041e7dd
push ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.0041e69a
mov edx, dword [esp + 0x30]
add esp, 0x20
mov ecx, edi
call fcn.0041e7dd
jmp 0x428733
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.004289dc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.004289dc
push dword [ebp + 0x10]
push dword [esp + 0x34]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.0041e69a
add esp, 0x20
jmp 0x428733
sub eax, 0x5d
je 0x428419
dec eax
jne case.0x428462.117
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push 0x5e
push edi
call fcn.0041e72f
add esp, 0x1c
jmp 0x428733
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.004289dc
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
call fcn.0041e718
add esp, 0x14
jmp 0x428733
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x428496
add eax, 0xffffff8c
cmp eax, 0x29
ja case.0x428462.117
movzx eax, byte [eax + 0x4289b2]
jmp dword [eax*4 + 0x42897e]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], dl
jne 0x428486
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
jmp 0x428733
cmp byte [ecx + 1], dl
je case.0x428462.152
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 0x1c
mov eax, edi
call fcn.0041e69a
add esp, 0x10
jmp 0x428733
mov eax, dword [ebx + 0x18]
cmp eax, edx
jge 0x4284b5
movsx eax, word [ebx + 0x1c]
add eax, dword [esi + 0x50]
jmp 0x42847d
push dword [ebp + 0x10]
push eax
movsx eax, word [ebx + 0x1c]
push eax
push dword [ebx + 0x28]
mov eax, esi
call fcn.00427f0f
add esp, 0x10
jmp 0x42847d
push dword [ebp + 0x10]
mov eax, ebx
push 0
push esi
call fcn.00427cf5
add esp, 0xc
jmp 0x428733
mov edi, dword [ebx + 4]
inc edi
inc edi
mov ecx, edi
call fcn.00411c85
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
dec ebx
push ebx
call fcn.0041232f
pop ecx
push 0xffffffffffffffff
push eax
mov eax, ebx
push 0
push dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
push eax
push 0xb
push dword [esp + 0x2c]
jmp 0x42840c
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x10]
push eax
push 0xc
mov eax, edi
call fcn.0041e718
mov ebx, dword [ebx + 4]
add esp, 0xc
cmp byte [ebx + 1], 0
je 0x428733
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.0041eab5
jmp 0x4284da
mov eax, dword [ebx + 0x18]
jmp 0x42847d
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.004289dc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.004289dc
push 0x90
push dword [ebp + 0x10]
push eax
push dword [esp + 0x3c]
xor eax, eax
cmp dword [esp + 0x2c], 0x46
sete al
add eax, 0x4b
push eax
jmp 0x4282dc
mov eax, dword [ebx + 8]
cmp byte [eax], 0x81
jne 0x4285a6
push dword [ebp + 0x10]
push 1
push esi
call fcn.00427cf5
add esp, 0xc
jmp 0x4285e2
mov eax, esi
call fcn.004294e0
push 0
push eax
mov dword [esp + 0x34], eax
push 0
push 7
mov eax, edi
call fcn.0041e69a
push dword [ebx + 8]
lea edi, [esp + 0x48]
push esi
call fcn.004289dc
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push 0x57
call fcn.0041e69a
add esp, 0x28
mov eax, dword [ebp + 0x10]
jmp 0x42847d
mov eax, dword [ebx + 0x24]
cmp eax, edx
jne 0x428607
push dword [ebx + 4]
mov edi, esi
push str.misuse_of_aggregate:__s__
call fcn.00411d11
pop ecx
pop ecx
jmp 0x428733
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x42847d
test word [ebx + 2], 0x2000
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov dword [esp + 0x18], edx
mov byte [esp + 0x24], al
mov dword [esp + 0x1c], edx
je 0x428682
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 4]
mov ecx, edi
call fcn.00411c85
push 0
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x20]
call fcn.0042e0da
add esp, 0x14
test eax, eax
mov dword [esp + 0x24], eax
jne 0x428695
push edi
push dword [esp + 0x24]
mov edi, esi
push str.unknown_function:__.s__
call fcn.00411d11
jmp 0x4284da
mov eax, dword [ebx + 0x10]
cmp eax, edx
mov dword [esp + 0xc], eax
je 0x42863b
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x42863f
test byte [eax + 3], 0x40
je 0x428752
mov eax, dword [esp + 0x14]
call fcn.0041e790
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, esi
call fcn.00428a17
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x428723
dec eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x18], eax
mov ebx, esi
push dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
push edi
push 0x4a
call fcn.0041e718
xor ecx, ecx
add esp, 0xc
inc ecx
mov esi, edi
mov eax, ebx
call fcn.00427e5e
inc dword [ebx + 0x54]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx]
mov ecx, ebx
call fcn.00428a17
mov eax, ebx
call fcn.00427e87
add dword [esp + 0x10], 0x14
dec dword [esp + 0x18]
jne 0x4286d7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.0041e7dd
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.004294fb
mov edx, dword [esp + 0x34]
call fcn.004294fb
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xc], 0
mov edi, dword [ebp + 8]
je 0x428789
mov esi, dword [esp + 0x28]
mov ecx, edi
call fcn.0042952f
mov esi, dword [esp + 0xc]
inc dword [edi + 0x54]
mov ecx, eax
push 1
push edi
mov eax, esi
mov dword [esp + 0x28], ecx
call fcn.00428b30
pop ecx
pop ecx
mov eax, edi
call fcn.00427e87
jmp 0x428792
and dword [esp + 0x20], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4287aa
test byte [ebx + 2], 0x80
je 0x4287aa
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
jmp 0x4287b4
test eax, eax
jle 0x4287c8
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.00438d03
mov dword [esp + 0x30], eax
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x42882e
cmp dword [esp + 0xc], 0x20
jge 0x4287fb
mov eax, dword [esi + 0xc]
push dword [ebx + eax]
xor eax, eax
inc eax
call fcn.004273c2
test eax, eax
pop ecx
je 0x4287fb
mov ecx, dword [esp + 0xc]
xor eax, eax
inc eax
shl eax, cl
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x42881d
cmp dword [esp + 0x1c], 0
jne 0x42881d
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.004264f2
mov dword [esp + 0x1c], eax
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add ebx, 0x14
cmp eax, dword [esp + 0x28]
jl 0x4287d4
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x428863
cmp dword [esp + 0x1c], 0
jne 0x42884a
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x1c], eax
push 0xfffffffffffffffc
push dword [esp + 0x20]
xor eax, eax
push eax
push eax
push eax
push 0x11
push dword [esp + 0x2c]
call fcn.0041e72f
add esp, 0x1c
push 0xfffffffffffffffb
push dword [esp + 0x28]
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 0x12
push dword [esp + 0x2c]
call fcn.0041e72f
mov dl, byte [esp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
call fcn.0041e930
cmp dword [esp + 0x28], 0
je 0x428730
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
call fcn.00429553
mov esi, eax
jmp 0x428733
push 0
push 0
push ebx
mov ebx, esi
call fcn.004277ea
jmp 0x428089
mov ecx, dword [esp + 0x10]
inc dword [esi + 0x54]
cmp dword [esp + 0x18], 0
mov eax, dword [ecx]
je 0x4288d8
mov dword [esp + 0x74], eax
jmp 0x4288dc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
call fcn.0041e790
push 8
push eax
push dword [esp + 0x24]
mov dword [esp + 0x34], eax
push esi
call fcn.00428e7a
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, esi
call fcn.00428a17
mov eax, dword [esp + 0x24]
push 0
push dword [esp + 0x38]
push 0
push 1
call fcn.0041e69a
add esp, 0x20
mov eax, esi
call fcn.00427e87
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
call fcn.0041e7dd
add dword [esp + 0x10], 0x28
dec dword [esp + 0xc]
jne 0x4288c2
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x42895c
inc dword [esi + 0x54]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.00428a17
mov eax, esi
call fcn.00427e87
jmp 0x42896f
push eax
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push 0xa
call fcn.0041e69a
add esp, 0x10
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
jmp 0x4283af