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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ecx, ecx
push edi
mov edi, dword [edx + 0xc]
cmp edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jne 0x42cc71
xor eax, eax
jmp 0x42d681
mov ebx, dword [ebp + 0xc]
cmp ebx, ecx
je 0x42d13b
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x42d146
je 0x42d13b
cmp esi, 0x46
jg 0x42cea2
je case.0x42d159.146
cmp esi, 0x25
jg 0x42cd3a
je 0x42ccd7
mov eax, esi
sub eax, 0x13
je 0x42d0d9
dec eax
je case.0x42d159.116
sub eax, 4
jne case.0x42d159.117
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.0042cc36
add esp, 0xc
jmp 0x42d175
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.0042cc36
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.00430e39
movsx esi, al
mov eax, dword [ebp + 0x10]
add esi, 0x2c
cmp dword [esp + 0x18], eax
je 0x42cd18
mov ebx, eax
push ebx
push dword [esp + 0x1c]
mov eax, edi
push 0xf
call fcn.004200ec
add esp, 0xc
mov dword [esp + 0x18], ebx
push dword [esp + 0x18]
mov eax, edi
push esi
call fcn.004200d7
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.0042cab5
jmp 0x42d668
cmp esi, 0x38
je 0x42ce4e
cmp esi, 0x3c
je 0x42cdf9
cmp esi, 0x43
jle case.0x42d159.117
cmp esi, 0x45
jle 0x42d101
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
and dword [esp + 0x14], 0
mov dword [esp + 0x30], eax
mov eax, edi
mov dword [esp + 0x10], ecx
call fcn.0042019f
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x20], eax
je 0x42cdc2
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 + 0x30]
call fcn.0042d6ec
and dword [esp + 0x30], 0
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 + 0x14], eax
cmp dword [esp + 0x30], 0
jle 0x42d625
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
inc dword [eax + 0x54]
cmp dword [esp + 0x20], 0
mov eax, dword [esi]
je 0x42d5bf
mov dword [esp + 0x74], eax
jmp 0x42d5c3
mov esi, dword [ebx + 0x28]
mov eax, dword [esi + 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 0x74
mov eax, edi
call fcn.004200ec
movzx eax, word [ebx + 0x1c]
add esp, 0xc
test ax, ax
jl 0x42d668
mov ecx, dword [esi + 0xc]
movsx eax, ax
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x42d668
push dword [ebp + 0x10]
mov eax, edi
push 0x16
call fcn.004200d7
jmp 0x42d1d4
cmp dword [edx + 0x1ac], ecx
jne 0x42ce68
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, edx
call fcn.0040fa2a
pop ecx
jmp 0x42cc6a
cmp byte [ebx + 1], 2
jne 0x42ce75
mov ecx, edx
call fcn.004334cc
mov al, byte [ebx + 1]
cmp al, 4
jne 0x42ce8d
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x42d0cb
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.004334e0
jmp 0x42d1e9
cmp esi, 0x50
jg 0x42d0a3
cmp esi, 0x4b
jge 0x42d062
cmp esi, 0x47
je 0x42cf94
cmp esi, 0x48
je 0x42cf23
jle case.0x42d159.117
cmp esi, 0x4a
jg case.0x42d159.117
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00420071
push dword [ebx + 8]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.0042d6ec
push eax
push esi
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.004200d7
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x14
mov eax, esi
call fcn.00420071
mov edx, dword [esi + 0x1c]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.0042037c
jmp 0x42d668
mov eax, edi
call fcn.0042019f
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.0042019f
xor esi, esi
push esi
push dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
push esi
push 0xa
mov eax, edi
call fcn.00420071
push dword [esp + 0x24]
mov eax, ebx
push dword [esp + 0x34]
push dword [ebp + 8]
call fcn.0042c71f
add esp, 0x1c
push esi
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00420071
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004201eb
push esi
push esi
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.00420071
mov edx, dword [esp + 0x34]
add esp, 0x20
mov ecx, edi
jmp 0x42d663
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, [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
call fcn.0042d6ec
push dword [esp + 0x28]
lea edi, [esp + 0x40]
push ebx
mov dword [esp + 0x34], eax
call fcn.0042d6ec
mov edx, eax
mov eax, ebx
call fcn.0042e1f0
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.0042e1f0
push 0x10
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
push edx
push dword [esp + 0x40]
mov edi, ebx
push 0x50
push dword [esp + 0x34]
call fcn.0042b205
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.0042e20b
push esi
push ebx
lea edi, [esp + 0x64]
call fcn.0042d6ec
push 0x10
push dword [esp + 0x50]
mov edi, ebx
push eax
push dword [esp + 0x60]
mov eax, esi
push 0x4e
push dword [esp + 0x54]
call fcn.0042b205
mov eax, dword [esp + 0x54]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 0x45
call fcn.00420071
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, ebx
call fcn.0042e20b
mov edx, dword [esp + 0x1c]
call fcn.0042e20b
jmp 0x42d668
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.0042d6ec
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.0042d6ec
push 0x10
push dword [ebp + 0x10]
push eax
push dword [esp + 0x40]
push esi
push dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp + 8]
call fcn.0042b205
add esp, 0x28
jmp 0x42d668
cmp esi, 0x52
jl case.0x42d159.117
cmp esi, 0x5b
jle 0x42d101
cmp esi, 0x5d
je 0x42d0d9
cmp esi, 0x5e
jne case.0x42d159.117
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push esi
push edi
call fcn.00420103
add esp, 0x1c
jmp 0x42d668
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.0042d6ec
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x2c], ecx
call fcn.004200ec
add esp, 0x14
jmp 0x42d668
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.0042d6ec
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.0042d6ec
push dword [ebp + 0x10]
push dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push esi
call fcn.00420071
add esp, 0x20
jmp 0x42d668
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x42d18f
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja case.0x42d159.117
movzx ecx, byte [ecx + 0x42d6c2]
jmp dword [ecx*4 + 0x42d68a]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x14]
cmp byte [ecx], 0
jne 0x42d17e
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
jmp 0x42d668
cmp byte [ecx + 1], 0
je case.0x42d159.152
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 8]
push 0x1d
mov eax, edi
call fcn.00420071
add esp, 0x10
jmp 0x42d668
mov eax, dword [ebx + 0x18]
test eax, eax
jge 0x42d1ae
movsx eax, word [ebx + 0x1c]
add eax, dword [edx + 0x50]
jmp 0x42d175
push dword [ebp + 0x10]
mov edi, edx
push eax
movsx eax, word [ebx + 0x1c]
push eax
push dword [ebx + 0x28]
call fcn.0042cb61
add esp, 0x10
jmp 0x42d175
push dword [ebp + 0x10]
mov eax, ebx
push 0
mov ecx, edx
call fcn.0042c968
pop ecx
pop ecx
jmp 0x42d668
push dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
push 0
push edi
call fcn.0042c911
add esp, 0xc
jmp 0x42d668
mov ebx, dword [ebx + 4]
inc ebx
inc ebx
mov ecx, ebx
call fcn.0040f99e
mov esi, eax
mov eax, edi
mov ecx, dword [eax]
dec esi
push esi
mov edi, ebx
call fcn.0041040b
pop ecx
push 0xffffffffffffffff
push eax
mov eax, esi
push 0
push dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
push eax
push 0xb
push dword [esp + 0x24]
jmp 0x42d0cc
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x10]
push eax
push 0xc
mov eax, edi
call fcn.004200ec
mov eax, dword [ebx + 4]
add esp, 0xc
cmp byte [eax + 1], 0
je 0x42d668
movsx eax, word [ebx + 0x1c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1d0]
push 0xfffffffffffffffe
push dword [ecx + eax*4 - 4]
or eax, 0xffffffff
push edi
call fcn.004204f3
jmp 0x42d1e9
mov eax, dword [ebx + 0x18]
jmp 0x42d175
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.0042d6ec
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.0042d6ec
push 0x90
push dword [ebp + 0x10]
push eax
push dword [esp + 0x40]
xor eax, eax
cmp esi, 0x46
sete al
add eax, 0x4b
push eax
jmp 0x42d08d
mov eax, dword [ebx + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x42d2c7
push dword [ebp + 0x10]
mov ecx, edx
push 1
call fcn.0042c968
pop ecx
pop ecx
jmp 0x42d31d
cmp cl, 0x82
jne 0x42d2df
push dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push 1
push edi
call fcn.0042c911
add esp, 0xc
jmp 0x42d31d
mov eax, edx
call fcn.0042e1f0
push 0
push eax
mov dword [esp + 0x30], eax
push 0
push 7
mov eax, edi
call fcn.00420071
push dword [ebx + 8]
lea edi, [esp + 0x48]
push dword [ebp + 8]
call fcn.0042d6ec
push dword [ebp + 0x10]
push dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x30]
push 0x57
call fcn.00420071
add esp, 0x28
mov eax, dword [ebp + 0x10]
jmp 0x42d175
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x42d340
push dword [ebx + 4]
mov edi, edx
push str.misuse_of_aggregate:__s__
call fcn.0040fa2a
jmp 0x42d1d4
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x24]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x42d175
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
and dword [esp + 0x20], 0
mov al, byte [eax + 0x4d]
and dword [esp + 0x30], 0
test word [ebx + 2], 0x2000
mov byte [esp + 0x10], al
je 0x42d3c1
xor edi, edi
mov dword [esp + 0x1c], edi
and dword [esp + 0x2c], 0
mov esi, dword [ebx + 4]
mov ecx, esi
call fcn.0040f99e
push 0
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push dword [esp + 0x34]
push esi
push dword [esp + 0x24]
call fcn.00433a7b
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d3d4
mov edi, dword [ebp + 8]
push esi
push dword [esp + 0x28]
push str.unknown_function:__.s__
call fcn.0040fa2a
jmp 0x42d1e9
mov edi, dword [ebx + 0x10]
test edi, edi
mov dword [esp + 0x1c], edi
je 0x42d378
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
jmp 0x42d37d
test byte [eax + 3], 0x40
je 0x42d469
mov eax, dword [esp + 0xc]
call fcn.0042019f
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, ebx
call fcn.0042d727
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x42d460
dec eax
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x20], eax
push dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push edi
push 0x4a
call fcn.004200ec
xor ecx, ecx
add esp, 0xc
inc ecx
mov esi, edi
mov eax, ebx
call fcn.0042cab5
inc dword [ebx + 0x54]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax]
mov ecx, ebx
call fcn.0042d727
mov eax, ebx
call fcn.0042cade
add dword [esp + 0x14], 0x14
dec dword [esp + 0x20]
jne 0x42d417
mov edx, dword [esp + 0x10]
jmp 0x42d65f
test edi, edi
je 0x42d499
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
call fcn.0042e23f
mov esi, ecx
inc dword [esi + 0x54]
mov dword [esp + 0x24], eax
push 1
mov ecx, eax
push esi
mov eax, edi
call fcn.0042d840
pop ecx
pop ecx
mov eax, esi
call fcn.0042cade
jmp 0x42d49e
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
cmp eax, 2
jl 0x42d4b6
test byte [ebx + 2], 0x80
je 0x42d4b6
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
jmp 0x42d4c0
test eax, eax
jle 0x42d4d4
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.0044312c
mov dword [esp + 0x1c], eax
add esp, 0xc
mov esi, dword [esp + 0x30]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
jle 0x42d53a
cmp dword [esp + 0x1c], 0x20
jge 0x42d50b
mov eax, dword [edi + 0xc]
push dword [ebx + eax]
xor eax, eax
inc eax
call fcn.0042bfaf
test eax, eax
pop ecx
je 0x42d50b
mov ecx, dword [esp + 0x1c]
xor eax, eax
inc eax
shl eax, cl
or dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
test byte [eax + 3], 8
je 0x42d529
test esi, esi
jne 0x42d529
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx]
mov ecx, dword [ebp + 8]
call fcn.0042b08f
mov esi, eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add ebx, 0x14
cmp eax, dword [esp + 0x2c]
jl 0x42d4e4
mov edi, dword [esp + 0x10]
test byte [edi + 3], 8
je 0x42d565
xor eax, eax
cmp esi, eax
jne 0x42d551
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x2c]
push 0xfffffffffffffffc
push esi
push eax
push eax
push eax
push 0x11
push dword [esp + 0x24]
call fcn.00420103
add esp, 0x1c
push 0xfffffffffffffffb
push edi
push dword [ebp + 0x10]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x12
push dword [esp + 0x24]
call fcn.00420103
mov dl, byte [esp + 0x48]
mov ecx, dword [esp + 0x28]
add esp, 0x1c
call fcn.0042038c
cmp dword [esp + 0x2c], 0
je 0x42d668
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
call fcn.0042e263
jmp 0x42d668
push 0
push 0
push ebx
mov ebx, edx
call fcn.0042c395
jmp 0x42cccf
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
call fcn.0042019f
push 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push dword [ebp + 8]
call fcn.0042db8a
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0042d727
mov eax, dword [esp + 0x1c]
push 0
push dword [esp + 0x30]
push 0
push 1
call fcn.00420071
mov eax, dword [ebp + 8]
add esp, 0x20
call fcn.0042cade
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
call fcn.004201eb
add esi, 0x28
dec dword [esp + 0x30]
jne 0x42cddd
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x42d648
mov esi, dword [ebp + 8]
inc dword [esi + 0x54]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042d727
mov eax, esi
call fcn.0042cade
jmp 0x42d65b
push eax
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push 0xa
call fcn.00420071
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.004201eb
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
call fcn.0042e20b
mov edx, dword [esp + 0x34]
call fcn.0042e20b
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret