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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [str.BYLAYER]
mov ecx, dword [0x56cdb8]
push ebx
push esi
push edi
xor edi, edi
push 0xc0
push 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], edi
mov byte [esp + 0x1ef], 0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
call fcn.00547150
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [esp + 0xc], esi
jne 0x43b06b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
mov dword [esp + 0x24], 1
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x3ff00000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004383e0
add esp, 4
mov ebx, eax
mov edi, 1
jmp 0x43b10b
mov esi, dword [esp + 0xc]
mov edi, 1
cmp ebx, 8
jne 0x43b12a
mov eax, dword [esp + 0x10]
push eax
call fcn.0043c570
add esp, 4
test eax, eax
je 0x43b63f
jmp 0x43b26c
cmp ebx, 6
jne 0x43b14f
mov ecx, dword [esp + 0x10]
push 0xff
lea edx, [esp + 0xec]
push ecx
push edx
call dword [0x550c78]
add esp, 0xc
jmp 0x43b26c
cmp ebx, 0x46
jne 0x43b1a0
mov al, byte [esp + 0x10]
mov cl, al
and cl, 1
cmp cl, 1
jne 0x43b166
mov dword [esp + 0x2c], edi
and al, 8
cmp al, 8
jne 0x43b179
mov eax, dword [esi]
mov dword [esp + 0x18], edi
or al, 0x40
mov dword [esi + 0x38], edi
mov dword [esi], eax
mov al, byte [esp + 0x10]
mov dl, al
and dl, 0x10
cmp dl, 0x10
je 0x43b657
test al, 4
je 0x43b26c
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x43b26c
cmp ebx, 0x1e
je 0x43b248
cmp ebx, 0x26
je 0x43b248
cmp ebx, 0x27
jne 0x43b1d5
cmp dword [ebp + 0xc], edi
je 0x43b26c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jmp 0x43b26c
cmp ebx, 0xd2
jne 0x43b1ef
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x43b26c
cmp ebx, 0xdc
jne 0x43b209
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x43b26c
cmp ebx, 0xe6
jne 0x43b229
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
jmp 0x43b26c
cmp ebx, 0x28
jne 0x43b26c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43b26c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
jmp 0x43b26c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
test eax, eax
mov dword [esp + 0x4c], edx
je 0x43b26c
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
xor edi, edi
test ebx, ebx
jne 0x43b2ac
mov eax, dword [esp + 0x10]
mov esi, str.VERTEX
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43b29f
test cl, cl
je 0x43b29b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43b29f
add eax, 2
add esi, 2
test cl, cl
jne 0x43b27b
xor eax, eax
jmp 0x43b2a4
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [esp + 0xc]
test eax, eax
je 0x43b2b8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43b5e8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
je 0x43b2fb
mov ecx, 6
lea esi, [esp + 0x90]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
jmp 0x43b39d
lea edx, [esp + 0x10]
push edx
call fcn.004383e0
mov ebx, eax
add esp, 4
cmp ebx, 0xa
jne 0x43b321
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x43b2fb
cmp ebx, 0x14
jne 0x43b338
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x43b2fb
cmp ebx, 0x1e
jne 0x43b34f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
jmp 0x43b2fb
cmp ebx, 0x2a
jne 0x43b366
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jmp 0x43b2fb
cmp ebx, 0x46
jne 0x43b384
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43b2fb
test byte [esp + 0x10], 0x10
je 0x43b2fb
mov edi, 1
jmp 0x43b2fb
cmp ebx, 0xffffffff
je 0x43b687
test ebx, ebx
jne 0x43b2fb
test edi, edi
jne 0x43b5bb
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43b3c4
mov ecx, 6
lea esi, [esp + 0x38]
lea edi, [esp + 0x90]
mov dword [esp + 0x24], 0
rep movsd dword es:[edi], dword [esi]
jmp 0x43b599
fld qword [esp + 0x60]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
mov eax, dword [esp + 0x18]
jne 0x43b535
test eax, eax
jne 0x43b539
fld qword [esp + 0x60]
fabs
fst qword [esp + 0xa8]
fld1
fpatan
fmul qword [0x550f60]
fmul qword [0x551120]
fabs
fst qword [esp + 0x88]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x43b599
lea edx, [esp + 0x38]
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00418a80
fld qword [esp + 0x90]
fmul qword [0x550f68]
add esp, 8
fmul qword [0x550f08]
fsin
fadd st(0), st(0)
fdivp st(1)
fstp qword [esp + 0xb0]
fld qword [esp + 0xa8]
fcomp qword [0x550f30]
fnstsw ax
test ah, 0x41
jne 0x43b46c
mov ecx, 1
jmp 0x43b46e
xor ecx, ecx
fld qword [esp + 0x60]
fcomp qword [0x550f20]
fnstsw ax
test ah, 1
je 0x43b486
mov eax, 1
jmp 0x43b488
xor eax, eax
mov esi, dword [esp + 0xb4]
lea edx, [esp + 0xd0]
mov edi, dword [esp + 0xb0]
push edx
push ecx
push eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0xc4]
push eax
push ecx
push esi
push edi
call fcn.00408e00
fld qword [esp + 0x7c]
fcomp qword [0x550f20]
add esp, 0x1c
fnstsw ax
test ah, 1
je 0x43b4cf
mov eax, 1
jmp 0x43b4d1
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push edx
push esi
lea ecx, [esp + 0xe0]
push edi
push ecx
lea edx, [esp + 0x50]
lea ecx, [esp + 0xd0]
push edx
push ecx
push eax
call fcn.0043fa90
add esp, 0x24
test eax, eax
je 0x43b699
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x78]
push eax
push ecx
push edx
call fcn.004113d0
add esp, 0x14
test eax, eax
jne 0x43b96b
jmp 0x43b599
test eax, eax
je 0x43b54e
lea eax, [esp + 0x38]
push esi
lea ecx, [esp + 0xbc]
push eax
push ecx
call fcn.00440210
jmp 0x43b561
lea edx, [esp + 0x38]
push esi
lea eax, [esp + 0xbc]
push edx
push eax
call fcn.0043f9f0
add esp, 0xc
test eax, eax
je 0x43b6b2
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x43b599
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.004113d0
add esp, 0x14
test eax, eax
jne 0x43b96b
mov eax, dword [esp + 0x28]
mov ecx, 6
lea esi, [esp + 0x38]
lea edi, [esp + 0xb8]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x43b6dd
test ebx, ebx
jne 0x43b628
mov eax, dword [esp + 0x10]
mov esi, str.SEQEND
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43b5f9
test cl, cl
je 0x43b5e4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43b5f9
add eax, 2
add esi, 2
test cl, cl
jne 0x43b5c4
xor eax, eax
jmp 0x43b5fe
lea edx, [esp + 0x10]
push edx
call fcn.004383e0
add esp, 4
mov ebx, eax
jmp 0x43b5b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43b102
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43b6dd
mov esi, dword [esp + 0xc]
mov dword [esp + 0x28], 1
mov edi, 1
jmp 0x43b10b
cmp ebx, 0xffffffff
je 0x43b6c7
mov esi, dword [esp + 0xc]
mov edi, 1
jmp 0x43b10b
push 0xc0
push edi
push esi
call fcn.0054714a
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc0
push edi
push esi
call fcn.0054714a
movsx eax, word [esp + 0x1c]
push 0x5789a0
push eax
call fcn.004e8670
add esp, 0x14
test eax, eax
je 0x43b99b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004888a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004888a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004888a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.004888a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43b711
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43b711
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
mov esi, dword [esp + 0xc]
push eax
push ecx
push esi
call fcn.00481820
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0xa4], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x43b737
push 0xc0
mov ecx, eax
push 1
push ecx
call fcn.0054714a
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43b794
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push 0
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
call fcn.004113d0
add esp, 0x14
test eax, eax
je 0x43b76d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
push 0x5789a0
push edi
mov dword [edi + 0xa4], eax
call fcn.0043c830
add esp, 8
test eax, eax
jne 0x43b798
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0xe8]
mov dword [edi + 0x38], 1
push ecx
call fcn.0043ac00
mov edx, dword [edi + 4]
and eax, 0xf
shl eax, 0xc
and dh, 0xf
push 0x5789a0
or eax, edx
push edi
mov dword [edi + 4], eax
mov ecx, dword [0x578928]
and ecx, 7
and ah, 0xf1
shl ecx, 9
or ecx, eax
mov dword [edi + 4], ecx
call fcn.004102f0
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x43b7f0
mov eax, dword [edi]
and ah, 0xfe
mov dword [edi], eax
jmp 0x43b806
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push edx
push eax
push edi
call fcn.00481440
add esp, 0xc
mov ecx, dword [edi]
push edi
and ecx, 0xfffffffe
or ecx, 2
mov dword [edi], ecx
call fcn.004890b0
push edi
call fcn.00441c50
fld qword [esp + 0x60]
fcomp qword [0x550f20]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x43b89a
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43b89a
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43b89a
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x43b89a
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push esi
push edx
push eax
push edi
call fcn.0043bc40
add esp, 0x10
test eax, eax
push edi
jne 0x43b87e
call fcn.004888a0
add esp, 4
mov dword [0x578930], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004894b0
add esp, 8
mov dword [0x578930], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
push ecx
push ebx
call fcn.004894b0
fld qword [esp + 0x58]
fcomp qword [0x550f20]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x43b99b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43b99b
mov edx, dword [esp + 0xc]
xor esi, esi
push edx
call fcn.004889e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43b8ed
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43b914
push eax
call fcn.00449a40
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x1c], eax
jne 0x43b914
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x90]
push ecx
push eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], edx
call fcn.004b54b0
add esp, 8
test eax, eax
jne 0x43b977
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
mov dword [edi + 0xa4], eax
call fcn.004894b0
add esp, 8
test esi, esi
je 0x43b99b
push 0x218
push 1
push esi
call fcn.0054714a
add esp, 0xc
pop edi
pop esi
mov dword [0x578930], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret