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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ffec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov eax, dword [0x44b6d0]
push ebx
push esi
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0xe4], eax
call fcn.0042b070
xor edi, edi
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x429b76
jmp 0x4294a2
mov eax, dword [esp + 0x20]
xor edi, edi
cmp dword [eax + 0x24], edi
je 0x4294ac
mov ecx, dword [eax + 0x20]
jmp 0x4294b1
mov ecx, 0x4411cc
mov eax, ecx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4294c7
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00401c50
mov eax, dword [esp + 0x70]
cmp eax, edi
mov dword [esp + 0xf4], edi
je 0x429607
cmp eax, 7
mov ecx, eax
jb 0x4294fa
mov ecx, 7
cmp dword [esp + 0x74], 0x10
mov esi, dword [esp + 0x60]
jae 0x429509
lea esi, [esp + 0x60]
mov edi, str.texture
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x429519
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x429607
cmp eax, 7
jb 0x429607
cmp eax, 7
setne dl
test edx, edx
jne 0x429607
mov ecx, dword [esp + 0x20]
push str.fname
call fcn.0042c860
mov ebx, 0xf
mov ecx, eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x429570
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.00401c50
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb0]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0xf4], 1
jae 0x4295ad
lea ecx, [esp + 0xb0]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
push 0
push ecx
push eax
call dword [edx + 0x118]
mov dword [esi + 0x130], eax
cmp dword [esp + 0xc4], edi
mov byte [esp + 0xf4], 0
jb 0x4295e7
mov eax, dword [esp + 0xb0]
push eax
call fcn.0043134d
add esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
jmp 0x42960c
mov ebx, 0xf
test eax, eax
je 0x429b2f
cmp eax, 6
mov ecx, eax
jb 0x429620
mov ecx, 6
cmp dword [esp + 0x74], 0x10
mov esi, dword [esp + 0x60]
jae 0x42962f
lea esi, [esp + 0x60]
mov edi, str.sprite
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x42963f
sbb edx, edx
sbb edx, 0xffffffff
xor esi, esi
cmp edx, esi
jne 0x429b2f
cmp eax, 6
jb 0x429b2f
xor edx, edx
cmp eax, 6
setne dl
cmp edx, esi
jne 0x429b2f
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov byte [esp + 0xcc], 0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xf4], 3
call fcn.0042b070
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x10], ebx
je 0x4299c8
lea ecx, [ecx]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4296bc
mov ecx, dword [ebx + 0x20]
jmp 0x4296c1
mov ecx, 0x4411cc
mov eax, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
lea esi, [eax + 1]
jmp 0x4296e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4296e0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00401c50
mov edx, dword [esp + 0x54]
test edx, edx
mov byte [esp + 0xf4], 4
je 0x429982
cmp edx, 2
mov ecx, edx
jb 0x429714
mov ecx, 2
cmp dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
jae 0x429723
lea esi, [esp + 0x44]
mov edi, 0x441578
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x429733
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429780
cmp edx, 2
jb 0x429780
cmp edx, 2
setne al
test eax, eax
jne 0x429780
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x429759
mov edx, dword [eax + 0x20]
jmp 0x42975e
mov edx, 0x4411cc
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429763
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x84]
call fcn.00401c50
mov edx, dword [esp + 0x54]
jmp 0x429784
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x429982
cmp edx, 9
mov ecx, edx
jb 0x429798
mov ecx, 9
cmp dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
jae 0x4297a7
lea esi, [esp + 0x44]
mov edi, str.dimension
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4297b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4298d2
cmp edx, 9
jb 0x4298d2
cmp edx, 9
setne al
test eax, eax
jne 0x4298d2
mov ebx, dword [esp + 0x10]
push 0x441244
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0x34]
add esp, 4
push 0x441240
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0x2c]
add esp, 4
push 0x44129c
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0x3c]
add esp, 4
push 0x441298
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0x14]
push 0x8c
call fcn.00430d06
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0xf4], 5
je 0x4298be
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov edx, dword [ecx + 0x130]
fld dword [esp + 0x10]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, eax
fld qword [esp + 0x48]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 8]
fld qword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fld qword [esp + 0x40]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push edx
call fcn.0042eb20
mov edx, dword [esp + 0x54]
mov byte [esp + 0xf4], 4
mov dword [esp + 0x78], eax
jmp 0x4298d6
mov edx, dword [esp + 0x54]
xor eax, eax
mov byte [esp + 0xf4], 4
mov dword [esp + 0x78], eax
jmp 0x4298d6
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x429982
cmp edx, 7
mov ecx, edx
jb 0x4298ea
mov ecx, 7
cmp dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
jae 0x4298f9
lea esi, [esp + 0x44]
mov edi, str.hotspot
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x429909
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429982
cmp edx, 7
jb 0x429982
cmp edx, 7
setne al
test eax, eax
jne 0x429982
push 0x441244
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0x9c]
add esp, 4
push 0x441240
mov ecx, ebx
call fcn.0042c860
push eax
call fcn.00431ed5
fstp qword [esp + 0xa4]
fld qword [esp + 0xa4]
mov eax, dword [esp + 0x7c]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fld qword [esp + 0x9c]
add esp, 4
fstp dword [esp + 0x10]
mov dword [eax + 0x84], edx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x80], ecx
mov ecx, ebx
call fcn.0042b0a0
mov ebx, eax
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf4], 3
jb 0x4299ab
mov eax, dword [esp + 0x44]
push eax
call fcn.0043134d
add esp, 4
test ebx, ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jne 0x4296b0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x78]
add ecx, 0x120
push edx
call fcn.004293c0
mov ebx, dword [esp + 0x90]
cmp ebx, ebx
mov edx, ebx
jae 0x4299e9
test edx, edx
je 0x429a5f
cmp edx, 4
mov ecx, edx
jb 0x4299f9
mov ecx, 4
cmp dword [esp + 0x94], 0x10
mov esi, dword [esp + 0x80]
jae 0x429a11
lea esi, [esp + 0x80]
mov edi, 0x443bd8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x429a21
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429a5f
cmp edx, 4
jb 0x429a5f
cmp edx, 4
setne al
test eax, eax
jne 0x429a5f
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x124]
test eax, eax
je 0x429a5b
mov ecx, dword [esi + 0x128]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
dec eax
mov dword [esi + 4], eax
cmp ebx, ebx
mov edx, ebx
jae 0x429a65
test edx, edx
je 0x429adb
cmp edx, 4
mov ecx, edx
jb 0x429a75
mov ecx, 4
cmp dword [esp + 0x94], 0x10
mov esi, dword [esp + 0x80]
jae 0x429a8d
lea esi, [esp + 0x80]
mov edi, str.Body
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x429a9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429adb
cmp edx, 4
jb 0x429adb
cmp edx, 4
setne al
test eax, eax
jne 0x429adb
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x124]
test eax, eax
je 0x429ad7
mov ecx, dword [esi + 0x128]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
dec eax
mov dword [esi + 8], eax
cmp dword [esp + 0x94], 0x10
jb 0x429af5
mov eax, dword [esp + 0x80]
push eax
call fcn.0043134d
add esp, 4
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
mov byte [esp + 0x80], al
mov byte [esp + 0xf4], al
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xdc], eax
mov byte [esp + 0xcc], al
mov ebx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0042b0a0
mov esi, eax
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0xf4], 0xffffffff
jb 0x429b5d
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0043134d
add esp, 4
test esi, esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jne 0x42949c
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xe4]
call fcn.00431ec7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4