Function at 0x452c26
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]
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
cmp edi, ecx
jne 0x452c61
xor eax, eax
jmp 0x453660
mov ebx, dword [ebp + 0xc]
cmp ebx, ecx
je 0x453129
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x453134
je 0x453129
cmp esi, 0x46
jg 0x452e90
je case.0x453147.146
cmp esi, 0x25
jg 0x452d2a
je 0x452cc7
mov eax, esi
sub eax, 0x13
je 0x4530c7
dec eax
je case.0x453147.116
sub eax, 4
jne case.0x453147.117
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.00452c26
add esp, 0xc
jmp 0x453163
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.00452c26
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.00456d33
movsx esi, al
mov eax, dword [ebp + 0x10]
add esi, 0x2c
cmp dword [esp + 0x18], eax
je 0x452d08
mov ebx, eax
push ebx
push dword [esp + 0x1c]
mov eax, edi
push 0xf
call fcn.00446b94
add esp, 0xc
mov dword [esp + 0x18], ebx
push dword [esp + 0x18]
mov eax, edi
push esi
call fcn.00446b7f
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.00452aa2
jmp 0x453647
cmp esi, 0x38
je 0x452e3c
cmp esi, 0x3c
je 0x452de9
cmp esi, 0x43
jle case.0x453147.117
cmp esi, 0x45
jle 0x4530ef
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.00446c0a
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x452db2
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.004536cc
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 0x453604
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 0x45359e
mov dword [esp + 0x74], eax
jmp 0x4535a2
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 0x6d
mov eax, edi
call fcn.00446b94
movzx eax, word [ebx + 0x1c]
add esp, 0xc
test ax, ax
jl 0x453647
mov ecx, dword [esi + 0xc]
cwde
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x453647
push dword [ebp + 0x10]
mov eax, edi
push 0x16
call fcn.00446b7f
jmp 0x4531d6
cmp dword [edx + 0x1ac], ecx
jne 0x452e56
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, edx
call fcn.00436e60
pop ecx
jmp 0x452c5a
cmp byte [ebx + 1], 2
jne 0x452e63
mov ecx, edx
call fcn.004592b2
mov al, byte [ebx + 1]
cmp al, 4
jne 0x452e7b
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x4530b9
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.004592c6
jmp 0x45323d
cmp esi, 0x50
jg 0x453091
cmp esi, 0x4b
jge 0x453050
cmp esi, 0x47
je 0x452f82
cmp esi, 0x48
je 0x452f11
jle case.0x453147.117
cmp esi, 0x4a
jg case.0x453147.117
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00446b16
push dword [ebx + 8]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.004536cc
push eax
push esi
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.00446b7f
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x14
mov eax, esi
call fcn.00446b16
mov edx, dword [esi + 0xc]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.00446db5
jmp 0x453647
mov eax, edi
call fcn.00446c0a
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.00446c0a
xor esi, esi
push esi
push dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
push esi
push 0xa
mov eax, edi
call fcn.00446b16
push dword [esp + 0x24]
mov eax, ebx
push dword [esp + 0x34]
push dword [ebp + 8]
call fcn.0045271f
add esp, 0x1c
push esi
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.00446b16
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00446c56
push esi
push esi
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.00446b16
mov edx, dword [esp + 0x34]
add esp, 0x20
mov ecx, edi
jmp 0x453642
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.004536cc
push dword [esp + 0x28]
lea edi, [esp + 0x40]
push ebx
mov dword [esp + 0x34], eax
call fcn.004536cc
mov edx, eax
mov eax, ebx
call fcn.004541fd
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.004541fd
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.0045119f
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.00454218
push esi
push ebx
lea edi, [esp + 0x64]
call fcn.004536cc
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.0045119f
mov eax, dword [esp + 0x54]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 0x45
call fcn.00446b16
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, ebx
call fcn.00454218
mov edx, dword [esp + 0x1c]
call fcn.00454218
jmp 0x453647
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.004536cc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.004536cc
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.0045119f
add esp, 0x28
jmp 0x453647
cmp esi, 0x52
jl case.0x453147.117
cmp esi, 0x5b
jle 0x4530ef
cmp esi, 0x5d
je 0x4530c7
cmp esi, 0x5e
jne case.0x453147.117
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push esi
push edi
call fcn.00446bab
add esp, 0x1c
jmp 0x453647
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.004536cc
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x2c], ecx
call fcn.00446b94
add esp, 0x14
jmp 0x453647
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.004536cc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.004536cc
push dword [ebp + 0x10]
push dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push esi
call fcn.00446b16
add esp, 0x20
jmp 0x453647
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x45317d
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja case.0x453147.117
movzx ecx, byte [ecx + 0x4536a2]
jmp dword [ecx*4 + 0x45366a]
movsx eax, word [ebx + 0x1e]
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], 0
jne 0x45316c
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
jmp 0x453647
cmp byte [ecx + 1], 0
je case.0x453147.152
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 0x1c
mov eax, edi
call fcn.00446b16
add esp, 0x10
jmp 0x453647
mov eax, dword [ebx + 0x18]
test eax, eax
jge 0x45319c
movsx eax, word [ebx + 0x1c]
add eax, dword [edx + 0x50]
jmp 0x453163
push dword [ebp + 0x10]
mov edi, edx
push eax
movsx eax, word [ebx + 0x1c]
push eax
push dword [ebx + 0x28]
call fcn.00452b51
add esp, 0x10
jmp 0x453163
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00452950
pop ecx
jmp 0x453647
push dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
push 0
call fcn.004528ed
pop ecx
jmp 0x4531c3
mov ebx, dword [ebx + 4]
inc ebx
inc ebx
mov ecx, ebx
call fcn.00436ddc
mov esi, eax
mov eax, edi
mov ecx, dword [eax]
dec esi
push esi
mov edi, ebx
call fcn.0043781b
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 0x4530ba
movsx eax, word [ebx + 0x1c]
push dword [ebp + 0x10]
push eax
push 0xc
mov eax, edi
call fcn.00446b94
mov ebx, dword [ebx + 4]
add esp, 0xc
cmp byte [ebx + 1], 0
je 0x453647
push 0
push ebx
push edi
or eax, 0xffffffff
call fcn.00446f38
add esp, 0xc
jmp 0x453647
mov eax, dword [ebx + 0x18]
jmp 0x453163
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.004536cc
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.004536cc
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 0x45307b
mov eax, dword [ebx + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x4532a5
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
inc edx
call fcn.00452950
jmp 0x4532b8
cmp cl, 0x82
jne 0x4532bb
push dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push 1
call fcn.004528ed
pop ecx
pop ecx
jmp 0x4532f9
mov eax, edx
call fcn.004541fd
push 0
push eax
mov dword [esp + 0x30], eax
push 0
push 7
mov eax, edi
call fcn.00446b16
push dword [ebx + 8]
lea edi, [esp + 0x48]
push dword [ebp + 8]
call fcn.004536cc
push dword [ebp + 0x10]
push dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x30]
push 0x57
call fcn.00446b16
add esp, 0x28
mov eax, dword [ebp + 0x10]
jmp 0x453163
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x45331c
push dword [ebx + 4]
mov edi, edx
push str.misuse_of_aggregate:__s__
call fcn.00436e60
jmp 0x4531d6
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x453163
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
and dword [esp + 0x20], 0
and dword [esp + 0x30], 0
mov byte [esp + 0x10], al
mov eax, 0x2000
test word [ebx + 2], ax
je 0x4533a0
xor edi, edi
mov dword [esp + 0x1c], edi
and dword [esp + 0x2c], 0
mov esi, dword [ebx + 4]
mov ecx, esi
call fcn.00436ddc
push 0
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push dword [esp + 0x34]
push esi
push dword [esp + 0x24]
call fcn.00459859
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4533b3
mov edi, dword [ebp + 8]
push esi
push dword [esp + 0x28]
push str.unknown_function:__.s__
call fcn.00436e60
jmp 0x45323d
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x453357
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
jmp 0x45335c
test byte [eax + 3], 0x40
je 0x453448
mov eax, dword [esp + 0xc]
call fcn.00446c0a
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.00453707
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x45343f
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.00446b94
xor ecx, ecx
add esp, 0xc
inc ecx
mov esi, edi
mov eax, ebx
call fcn.00452aa2
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.00453707
mov eax, ebx
call fcn.00452acb
add dword [esp + 0x14], 0x14
dec dword [esp + 0x20]
jne 0x4533f6
mov edx, dword [esp + 0x10]
jmp 0x45363e
test edi, edi
je 0x453478
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
call fcn.0045424c
mov esi, ecx
inc dword [esi + 0x54]
mov dword [esp + 0x24], eax
push 1
mov ecx, eax
push esi
mov eax, edi
call fcn.00453826
pop ecx
pop ecx
mov eax, esi
call fcn.00452acb
jmp 0x45347d
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
cmp eax, 2
jl 0x453495
test byte [ebx + 2], 0x80
je 0x453495
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
jmp 0x45349f
test eax, eax
jle 0x4534b3
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.0046868b
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 0x453519
cmp dword [esp + 0x1c], 0x20
jge 0x4534ea
mov eax, dword [edi + 0xc]
push dword [ebx + eax]
xor eax, eax
inc eax
call fcn.00451f7f
pop ecx
test eax, eax
je 0x4534ea
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 0x453508
test esi, esi
jne 0x453508
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx]
mov ecx, dword [ebp + 8]
call fcn.00451013
mov esi, eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add ebx, 0x14
cmp eax, dword [esp + 0x2c]
jl 0x4534c3
mov edi, dword [esp + 0x10]
test byte [edi + 3], 8
je 0x453544
xor eax, eax
cmp esi, eax
jne 0x453530
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.00446bab
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.00446bab
mov dl, byte [esp + 0x48]
mov ecx, dword [esp + 0x28]
add esp, 0x1c
call fcn.00446dc5
cmp dword [esp + 0x2c], 0
je 0x453647
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
call fcn.00454270
jmp 0x453647
push 0
push 0
push ebx
mov ebx, edx
call fcn.004523ca
jmp 0x452cbf
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
call fcn.00446c0a
push 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push dword [ebp + 8]
call fcn.00453b70
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
call fcn.00453707
mov eax, dword [esp + 0x1c]
push 0
push dword [esp + 0x30]
push 0
push 1
call fcn.00446b16
mov eax, dword [ebp + 8]
add esp, 0x20
call fcn.00452acb
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
call fcn.00446c56
add esi, 0x28
dec dword [esp + 0x30]
jne 0x452dcd
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x453627
mov esi, dword [ebp + 8]
inc dword [esi + 0x54]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.00453707
mov eax, esi
call fcn.00452acb
jmp 0x45363a
push eax
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push 0xa
call fcn.00446b16
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.00446c56
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
call fcn.00454218
mov edx, dword [esp + 0x34]
call fcn.00454218
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret