Function at 0x42ba9c
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 0x42bad7
xor eax, eax
jmp 0x42c1f9
mov ebx, dword [ebp + 0xc]
cmp ebx, edx
je 0x42bef2
movzx eax, byte [ebx]
cmp eax, 0x62
mov dword [esp + 0xc], eax
jg 0x42befd
je 0x42bef2
cmp eax, 0x47
jg 0x42bd2f
je 0x42bc63
cmp eax, 0x38
jg 0x42bb93
je 0x42bb3f
sub eax, 0x13
je 0x42bec7
dec eax
je case.0x42bf10.116
sub eax, 4
jne case.0x42bf10.117
push dword [ebp + 0x10]
push dword [ebx + 8]
push esi
call fcn.0042ba9c
add esp, 0xc
jmp 0x42bf2b
cmp dword [esi + 0x1a4], edx
jne 0x42bb59
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, esi
call fcn.004157c2
pop ecx
jmp 0x42bad0
cmp byte [ebx + 1], 2
jne 0x42bb66
mov ecx, esi
call fcn.00431655
mov al, byte [ebx + 1]
cmp al, 4
jne 0x42bb7e
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x42beb9
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, esi
call fcn.00431669
jmp 0x42bf88
cmp eax, 0x3c
je 0x42bc3e
cmp eax, 0x43
jle case.0x42bf10.117
cmp eax, 0x45
jle 0x42be67
cmp eax, 0x46
je case.0x42bf10.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.00422241
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x18], eax
je 0x42bc1d
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.0042c48a
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 0x42c3ea
mov ecx, dword [esp + 0xc]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jmp 0x42c374
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.004221c9
jmp 0x42bf88
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.0042c48a
push dword [esp + 0x20]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042c48a
mov edx, eax
mov eax, esi
call fcn.0042cf8e
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0042cf8e
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.0042a11c
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebx + 0x14]
mov eax, esi
call fcn.0042cfa9
push ebx
push esi
lea edi, [esp + 0x64]
call fcn.0042c48a
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.0042a11c
mov eax, dword [esp + 0x5c]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x18]
push 0x45
call fcn.0042214b
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
call fcn.0042cfa9
mov edx, dword [esp + 0x1c]
call fcn.0042cfa9
jmp 0x42c1e1
cmp eax, 0x5b
jg 0x42bea2
cmp eax, 0x52
jge 0x42be67
cmp eax, 0x48
je 0x42bdf1
jle case.0x42bf10.117
cmp eax, 0x4a
jle 0x42bd9f
cmp eax, 0x50
jg case.0x42bf10.117
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042c48a
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042c48a
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.0042a11c
add esp, 0x28
jmp 0x42c1e1
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.0042214b
push dword [ebx + 8]
lea edi, [esp + 0x40]
push esi
call fcn.0042c48a
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.004221b4
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x40]
push 0x14
call fcn.0042214b
mov edx, dword [esp + 0x44]
add esp, 0x30
mov eax, edi
call fcn.004223f3
jmp 0x42c1e1
mov eax, edi
call fcn.00422241
mov dword [esp + 0x18], eax
mov eax, edi
call fcn.00422241
push 0
push dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push 0
push 0xa
mov eax, edi
call fcn.0042214b
push dword [esp + 0x20]
mov eax, ebx
push dword [esp + 0x2c]
push esi
call fcn.0042b5e1
add esp, 0x1c
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.0042214b
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.0042228e
push ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.0042214b
mov edx, dword [esp + 0x30]
add esp, 0x20
mov ecx, edi
call fcn.0042228e
jmp 0x42c1e1
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042c48a
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042c48a
push dword [ebp + 0x10]
push dword [esp + 0x34]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.0042214b
add esp, 0x20
jmp 0x42c1e1
sub eax, 0x5d
je 0x42bec7
dec eax
jne case.0x42bf10.117
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push 0x5e
push edi
call fcn.004221e0
add esp, 0x1c
jmp 0x42c1e1
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042c48a
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.004221c9
add esp, 0x14
jmp 0x42c1e1
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x42bf44
add eax, 0xffffff8c
cmp eax, 0x29
ja case.0x42bf10.117
movzx eax, byte [eax + 0x42c460]
jmp dword [eax*4 + 0x42c42c]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], dl
jne 0x42bf34
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
jmp 0x42c1e1
cmp byte [ecx + 1], dl
je case.0x42bf10.152
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 0x1c
mov eax, edi
call fcn.0042214b
add esp, 0x10
jmp 0x42c1e1
mov eax, dword [ebx + 0x18]
cmp eax, edx
jge 0x42bf63
movsx eax, word [ebx + 0x1c]
add eax, dword [esi + 0x50]
jmp 0x42bf2b
push dword [ebp + 0x10]
push eax
movsx eax, word [ebx + 0x1c]
push eax
push dword [ebx + 0x28]
mov eax, esi
call fcn.0042b9bd
add esp, 0x10
jmp 0x42bf2b
push dword [ebp + 0x10]
mov eax, ebx
push 0
push esi
call fcn.0042b7a3
add esp, 0xc
jmp 0x42c1e1
mov edi, dword [ebx + 4]
inc edi
inc edi
mov ecx, edi
call fcn.00415736
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
dec ebx
push ebx
call fcn.00415de0
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 0x42beba
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x10]
push eax
push 0xc
mov eax, edi
call fcn.004221c9
mov ebx, dword [ebx + 4]
add esp, 0xc
cmp byte [ebx + 1], 0
je 0x42c1e1
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.00422566
jmp 0x42bf88
mov eax, dword [ebx + 0x18]
jmp 0x42bf2b
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042c48a
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042c48a
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 0x42bd8a
mov eax, dword [ebx + 8]
cmp byte [eax], 0x81
jne 0x42c054
push dword [ebp + 0x10]
push 1
push esi
call fcn.0042b7a3
add esp, 0xc
jmp 0x42c090
mov eax, esi
call fcn.0042cf8e
push 0
push eax
mov dword [esp + 0x34], eax
push 0
push 7
mov eax, edi
call fcn.0042214b
push dword [ebx + 8]
lea edi, [esp + 0x48]
push esi
call fcn.0042c48a
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push 0x57
call fcn.0042214b
add esp, 0x28
mov eax, dword [ebp + 0x10]
jmp 0x42bf2b
mov eax, dword [ebx + 0x24]
cmp eax, edx
jne 0x42c0b5
push dword [ebx + 4]
mov edi, esi
push str.misuse_of_aggregate:__s__
call fcn.004157c2
pop ecx
pop ecx
jmp 0x42c1e1
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x42bf2b
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 0x42c130
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 4]
mov ecx, edi
call fcn.00415736
push 0
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x20]
call fcn.00431b88
add esp, 0x14
test eax, eax
mov dword [esp + 0x24], eax
jne 0x42c143
push edi
push dword [esp + 0x24]
mov edi, esi
push str.unknown_function:__.s__
call fcn.004157c2
jmp 0x42bf88
mov eax, dword [ebx + 0x10]
cmp eax, edx
mov dword [esp + 0xc], eax
je 0x42c0e9
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x42c0ed
test byte [eax + 3], 0x40
je 0x42c200
mov eax, dword [esp + 0x14]
call fcn.00422241
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.0042c4c5
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x42c1d1
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.004221c9
xor ecx, ecx
add esp, 0xc
inc ecx
mov esi, edi
mov eax, ebx
call fcn.0042b90c
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.0042c4c5
mov eax, ebx
call fcn.0042b935
add dword [esp + 0x10], 0x14
dec dword [esp + 0x18]
jne 0x42c185
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.0042228e
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0042cfa9
mov edx, dword [esp + 0x34]
call fcn.0042cfa9
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 0x42c237
mov esi, dword [esp + 0x28]
mov ecx, edi
call fcn.0042cfdd
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.0042c5de
pop ecx
pop ecx
mov eax, edi
call fcn.0042b935
jmp 0x42c240
and dword [esp + 0x20], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x42c258
test byte [ebx + 2], 0x80
je 0x42c258
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
jmp 0x42c262
test eax, eax
jle 0x42c276
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.0043c7b1
mov dword [esp + 0x30], eax
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x42c2dc
cmp dword [esp + 0xc], 0x20
jge 0x42c2a9
mov eax, dword [esi + 0xc]
push dword [ebx + eax]
xor eax, eax
inc eax
call fcn.0042ae70
test eax, eax
pop ecx
je 0x42c2a9
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 0x42c2cb
cmp dword [esp + 0x1c], 0
jne 0x42c2cb
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.00429fa0
mov dword [esp + 0x1c], eax
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add ebx, 0x14
cmp eax, dword [esp + 0x28]
jl 0x42c282
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x42c311
cmp dword [esp + 0x1c], 0
jne 0x42c2f8
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.004221e0
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.004221e0
mov dl, byte [esp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
call fcn.004223e1
cmp dword [esp + 0x28], 0
je 0x42c1de
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
call fcn.0042d001
mov esi, eax
jmp 0x42c1e1
push 0
push 0
push ebx
mov ebx, esi
call fcn.0042b298
jmp 0x42bb37
mov ecx, dword [esp + 0x10]
inc dword [esi + 0x54]
cmp dword [esp + 0x18], 0
mov eax, dword [ecx]
je 0x42c386
mov dword [esp + 0x74], eax
jmp 0x42c38a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
call fcn.00422241
push 8
push eax
push dword [esp + 0x24]
mov dword [esp + 0x34], eax
push esi
call fcn.0042c928
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, esi
call fcn.0042c4c5
mov eax, dword [esp + 0x24]
push 0
push dword [esp + 0x38]
push 0
push 1
call fcn.0042214b
add esp, 0x20
mov eax, esi
call fcn.0042b935
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
call fcn.0042228e
add dword [esp + 0x10], 0x28
dec dword [esp + 0xc]
jne 0x42c370
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x42c40a
inc dword [esi + 0x54]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042c4c5
mov eax, esi
call fcn.0042b935
jmp 0x42c41d
push eax
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push 0xa
call fcn.0042214b
add esp, 0x10
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
jmp 0x42be5d