Function at 0x429952
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 0x42998d
xor eax, eax
jmp 0x42a0af
mov ebx, dword [ebp + 0xc]
cmp ebx, edx
je 0x429da8
movzx eax, byte [ebx]
cmp eax, 0x62
mov dword [esp + 0xc], eax
jg 0x429db3
je 0x429da8
cmp eax, 0x47
jg 0x429be5
je 0x429b19
cmp eax, 0x38
jg 0x429a49
je 0x4299f5
sub eax, 0x13
je 0x429d7d
dec eax
je case.0x429dc6.116
sub eax, 4
jne case.0x429dc6.117
push dword [ebp + 0x10]
push dword [ebx + 8]
push esi
call fcn.00429952
add esp, 0xc
jmp 0x429de1
cmp dword [esi + 0x1a4], edx
jne 0x429a0f
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, esi
call fcn.00413678
pop ecx
jmp 0x429986
cmp byte [ebx + 1], 2
jne 0x429a1c
mov ecx, esi
call fcn.0042f50b
mov al, byte [ebx + 1]
cmp al, 4
jne 0x429a34
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x429d6f
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, esi
call fcn.0042f51f
jmp 0x429e3e
cmp eax, 0x3c
je 0x429af4
cmp eax, 0x43
jle case.0x429dc6.117
cmp eax, 0x45
jle 0x429d1d
cmp eax, 0x46
je case.0x429dc6.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.004200f7
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x18], eax
je 0x429ad3
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.0042a340
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 0x42a2a0
mov ecx, dword [esp + 0xc]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jmp 0x42a22a
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.0042007f
jmp 0x429e3e
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.0042a340
push dword [esp + 0x20]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042a340
mov edx, eax
mov eax, esi
call fcn.0042ae44
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0042ae44
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.00427fd2
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebx + 0x14]
mov eax, esi
call fcn.0042ae5f
push ebx
push esi
lea edi, [esp + 0x64]
call fcn.0042a340
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.00427fd2
mov eax, dword [esp + 0x5c]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x18]
push 0x45
call fcn.00420001
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
call fcn.0042ae5f
mov edx, dword [esp + 0x1c]
call fcn.0042ae5f
jmp 0x42a097
cmp eax, 0x5b
jg 0x429d58
cmp eax, 0x52
jge 0x429d1d
cmp eax, 0x48
je 0x429ca7
jle case.0x429dc6.117
cmp eax, 0x4a
jle 0x429c55
cmp eax, 0x50
jg case.0x429dc6.117
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042a340
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042a340
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.00427fd2
add esp, 0x28
jmp 0x42a097
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00420001
push dword [ebx + 8]
lea edi, [esp + 0x40]
push esi
call fcn.0042a340
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.0042006a
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x40]
push 0x14
call fcn.00420001
mov edx, dword [esp + 0x44]
add esp, 0x30
mov eax, edi
call fcn.004202a9
jmp 0x42a097
mov eax, edi
call fcn.004200f7
mov dword [esp + 0x18], eax
mov eax, edi
call fcn.004200f7
push 0
push dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push 0
push 0xa
mov eax, edi
call fcn.00420001
push dword [esp + 0x20]
mov eax, ebx
push dword [esp + 0x2c]
push esi
call fcn.00429497
add esp, 0x1c
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00420001
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00420144
push ebx
push ebx
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.00420001
mov edx, dword [esp + 0x30]
add esp, 0x20
mov ecx, edi
call fcn.00420144
jmp 0x42a097
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042a340
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042a340
push dword [ebp + 0x10]
push dword [esp + 0x34]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x34]
call fcn.00420001
add esp, 0x20
jmp 0x42a097
sub eax, 0x5d
je 0x429d7d
dec eax
jne case.0x429dc6.117
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push 0x5e
push edi
call fcn.00420096
add esp, 0x1c
jmp 0x42a097
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042a340
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.0042007f
add esp, 0x14
jmp 0x42a097
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x429dfa
add eax, 0xffffff8c
cmp eax, 0x29
ja case.0x429dc6.117
movzx eax, byte [eax + 0x42a316]
jmp dword [eax*4 + 0x42a2e2]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], dl
jne 0x429dea
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
jmp 0x42a097
cmp byte [ecx + 1], dl
je case.0x429dc6.152
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 0x1c
mov eax, edi
call fcn.00420001
add esp, 0x10
jmp 0x42a097
mov eax, dword [ebx + 0x18]
cmp eax, edx
jge 0x429e19
movsx eax, word [ebx + 0x1c]
add eax, dword [esi + 0x50]
jmp 0x429de1
push dword [ebp + 0x10]
push eax
movsx eax, word [ebx + 0x1c]
push eax
push dword [ebx + 0x28]
mov eax, esi
call fcn.00429873
add esp, 0x10
jmp 0x429de1
push dword [ebp + 0x10]
mov eax, ebx
push 0
push esi
call fcn.00429659
add esp, 0xc
jmp 0x42a097
mov edi, dword [ebx + 4]
inc edi
inc edi
mov ecx, edi
call fcn.004135ec
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
dec ebx
push ebx
call fcn.00413c96
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 0x429d70
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x10]
push eax
push 0xc
mov eax, edi
call fcn.0042007f
mov ebx, dword [ebx + 4]
add esp, 0xc
cmp byte [ebx + 1], 0
je 0x42a097
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.0042041c
jmp 0x429e3e
mov eax, dword [ebx + 0x18]
jmp 0x429de1
push dword [ebx + 8]
lea edi, [esp + 0x30]
push esi
call fcn.0042a340
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.0042a340
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 0x429c40
mov eax, dword [ebx + 8]
cmp byte [eax], 0x81
jne 0x429f0a
push dword [ebp + 0x10]
push 1
push esi
call fcn.00429659
add esp, 0xc
jmp 0x429f46
mov eax, esi
call fcn.0042ae44
push 0
push eax
mov dword [esp + 0x34], eax
push 0
push 7
mov eax, edi
call fcn.00420001
push dword [ebx + 8]
lea edi, [esp + 0x48]
push esi
call fcn.0042a340
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push 0x57
call fcn.00420001
add esp, 0x28
mov eax, dword [ebp + 0x10]
jmp 0x429de1
mov eax, dword [ebx + 0x24]
cmp eax, edx
jne 0x429f6b
push dword [ebx + 4]
mov edi, esi
push str.misuse_of_aggregate:__s__
call fcn.00413678
pop ecx
pop ecx
jmp 0x42a097
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x429de1
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 0x429fe6
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 4]
mov ecx, edi
call fcn.004135ec
push 0
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x20]
call fcn.0042fa3e
add esp, 0x14
test eax, eax
mov dword [esp + 0x24], eax
jne 0x429ff9
push edi
push dword [esp + 0x24]
mov edi, esi
push str.unknown_function:__.s__
call fcn.00413678
jmp 0x429e3e
mov eax, dword [ebx + 0x10]
cmp eax, edx
mov dword [esp + 0xc], eax
je 0x429f9f
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x429fa3
test byte [eax + 3], 0x40
je 0x42a0b6
mov eax, dword [esp + 0x14]
call fcn.004200f7
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.0042a37b
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x42a087
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.0042007f
xor ecx, ecx
add esp, 0xc
inc ecx
mov esi, edi
mov eax, ebx
call fcn.004297c2
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.0042a37b
mov eax, ebx
call fcn.004297eb
add dword [esp + 0x10], 0x14
dec dword [esp + 0x18]
jne 0x42a03b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.00420144
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0042ae5f
mov edx, dword [esp + 0x34]
call fcn.0042ae5f
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 0x42a0ed
mov esi, dword [esp + 0x28]
mov ecx, edi
call fcn.0042ae93
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.0042a494
pop ecx
pop ecx
mov eax, edi
call fcn.004297eb
jmp 0x42a0f6
and dword [esp + 0x20], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x42a10e
test byte [ebx + 2], 0x80
je 0x42a10e
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
jmp 0x42a118
test eax, eax
jle 0x42a12c
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.0043a66a
mov dword [esp + 0x30], eax
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x42a192
cmp dword [esp + 0xc], 0x20
jge 0x42a15f
mov eax, dword [esi + 0xc]
push dword [ebx + eax]
xor eax, eax
inc eax
call fcn.00428d26
test eax, eax
pop ecx
je 0x42a15f
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 0x42a181
cmp dword [esp + 0x1c], 0
jne 0x42a181
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.00427e56
mov dword [esp + 0x1c], eax
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add ebx, 0x14
cmp eax, dword [esp + 0x28]
jl 0x42a138
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x42a1c7
cmp dword [esp + 0x1c], 0
jne 0x42a1ae
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.00420096
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.00420096
mov dl, byte [esp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
call fcn.00420297
cmp dword [esp + 0x28], 0
je 0x42a094
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
call fcn.0042aeb7
mov esi, eax
jmp 0x42a097
push 0
push 0
push ebx
mov ebx, esi
call fcn.0042914e
jmp 0x4299ed
mov ecx, dword [esp + 0x10]
inc dword [esi + 0x54]
cmp dword [esp + 0x18], 0
mov eax, dword [ecx]
je 0x42a23c
mov dword [esp + 0x74], eax
jmp 0x42a240
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
call fcn.004200f7
push 8
push eax
push dword [esp + 0x24]
mov dword [esp + 0x34], eax
push esi
call fcn.0042a7de
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, esi
call fcn.0042a37b
mov eax, dword [esp + 0x24]
push 0
push dword [esp + 0x38]
push 0
push 1
call fcn.00420001
add esp, 0x20
mov eax, esi
call fcn.004297eb
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
call fcn.00420144
add dword [esp + 0x10], 0x28
dec dword [esp + 0xc]
jne 0x42a226
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x42a2c0
inc dword [esi + 0x54]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042a37b
mov eax, esi
call fcn.004297eb
jmp 0x42a2d3
push eax
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push 0xa
call fcn.00420001
add esp, 0x10
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
jmp 0x429d13