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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x584ce8]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
cmp edi, 3
je 0x4476b7
cmp edi, 4
je 0x4476b7
cmp edi, 5
je 0x4476b7
cmp edi, 6
je 0x4479ad
cmp edi, 2
je 0x447692
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0xbc]
push edx
mov edx, dword [0x585054]
push eax
mov eax, dword [0x585050]
lea ecx, [esp + 0x28]
push 0
push ecx
mov ecx, dword [edi*4 + 0x580e80]
push 4
push edx
push eax
push ecx
call fcn.004a7410
add esp, 0x24
jmp 0x4476ad
mov eax, dword [0x580e8c]
lea edx, [esp + 0xac]
push edx
push 0x824
push eax
call fcn.004bd110
add esp, 0xc
test eax, eax
jne 0x44806c
jmp 0x4476cd
mov eax, dword [0x584ce8]
test eax, eax
je 0x44806c
cmp edi, 3
je 0x447acc
cmp edi, 2
je 0x447aed
cmp edi, 6
je 0x44810d
mov ebx, dword [ebp + 0xc]
cmp edi, 1
jne 0x447963
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00481650
fcomp qword [0x584ab0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x44763b
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [eax]
test ch, 0x20
je 0x44777a
fld dword [eax + 0x40]
fstp qword [esp + 0x34]
fld dword [eax + 0x44]
fstp qword [esp + 0x6c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004465c0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.004465c0
lea edx, [esp + 0x54]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0xd4]
push eax
mov eax, dword [0x585054]
push ecx
mov ecx, dword [0x585050]
lea edx, [esp + 0x40]
push 0
push edx
mov edx, dword [0x580e88]
push 4
push eax
push ecx
push edx
call fcn.004a7410
add esp, 0x3c
test eax, eax
jne 0x44763b
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [eax]
test ch, 0x20
je 0x447817
fld dword [eax + 0x40]
fstp qword [esp + 0x84]
jmp 0x44782d
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x74]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
call fcn.004465c0
mov eax, dword [esp + 0x64]
add esp, 0xc
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [eax]
test ch, 0x20
je 0x447883
fld dword [eax + 0x44]
fstp qword [esp + 0xa4]
jmp 0x447899
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
call fcn.004465c0
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
push eax
lea edx, [esp + 0x84]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.00418f20
add esp, 0x1c
test eax, eax
jne 0x447b4e
mov ecx, dword [0x584ab4]
mov edx, dword [0x584ab0]
push ecx
lea eax, [esp + 0x98]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00418f20
add esp, 0x10
test eax, eax
jne 0x447b77
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00418f20
add esp, 0x10
test eax, eax
jne 0x447b8e
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
push eax
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00418f20
add esp, 0x10
test eax, eax
jne 0x447d07
call fcn.0054719e
jmp 0x44763b
test edi, edi
jne 0x447bef
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00481650
fcomp qword [0x584ab0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x44763b
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
test ah, 8
je 0x447ba8
test eax, 0x20000000
jne 0x447ba8
call fcn.0054719e
jmp 0x44763b
mov eax, dword [0x583520]
test eax, eax
je 0x447a6c
lea edx, [esp + 0xc8]
push 0x50
push edx
call fcn.004ca0f0
add esp, 8
cmp eax, 0xffffffff
je 0x44806c
test eax, eax
jne 0x447a58
mov eax, dword [0x578c98]
test eax, eax
mov dword [esp + 0xc], eax
je 0x447a15
mov esi, dword [0x550bf4]
lea ecx, [esp + 0xc8]
add eax, 0xd0
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x447a4e
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc8]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4479ec
mov ecx, dword [0x582790]
lea eax, [esp + 0x8c]
lea edx, [esp + 0xc8]
push 2
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
call fcn.004c9c60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x447a15
jmp 0x447a5e
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [0x583520]
test ecx, ecx
je 0x447a6c
test eax, eax
jne 0x447a92
lea eax, [esp + 0xc]
push eax
push 0x578c98
call fcn.0042b910
add esp, 8
test eax, eax
jne 0x44806c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44806c
mov ecx, dword [eax + 0xc0]
test ecx, ecx
jl 0x44806c
call fcn.00447330
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x447ade
mov eax, dword [esp + 0xc]
mov dword [0x584ce8], eax
test byte [eax + 0xcc], 1
jne 0x44810d
call fcn.00438390
jmp 0x44810d
call fcn.004487f0
test eax, eax
jne 0x44806c
jmp 0x447bf4
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x447b00
mov eax, dword [eax + 0xa4]
jmp 0x447b15
mov eax, dword [esp + 0xac]
test eax, eax
je 0x44806c
mov eax, dword [eax + 0xa8]
test eax, eax
mov dword [esp + 0xc], eax
je 0x44806c
mov ecx, dword [eax + 0xc0]
test ecx, ecx
jl 0x44806c
call fcn.00447330
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x447aac
mov edx, dword [esp + 0xc]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00419250
lea edx, [esp + 0x9c]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.00419250
add esp, 0x10
jmp 0x447d07
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00419250
add esp, 8
jmp 0x447d07
lea eax, [esp + 0x94]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00419250
add esp, 8
jmp 0x447d07
mov eax, dword [0x571920]
lea edx, [esp + 0x74]
cmp eax, 0x54
lea eax, [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
jne 0x447bd3
call fcn.00448580
jmp 0x447bd8
call fcn.00448320
add esp, 0x18
test eax, eax
je 0x447d07
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 3
jne 0x447c41
mov edx, dword [0x584ce8]
push edx
call fcn.00446a00
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x447c17
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [0x578c9c]
sub esp, 8
fstp qword [esp]
push eax
call fcn.00449cf0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x447d79
call fcn.00447330
jmp 0x447d79
cmp edi, 5
jne 0x447c68
mov eax, dword [0x584ce8]
push eax
call fcn.00446a00
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x447c2c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x584ce8]
push ecx
call fcn.00446a00
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x447c8b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x154]
and edx, 0x80000001
jns 0x447c9e
dec edx
or edx, 0xfffffffe
inc edx
jne 0x447cb8
fld qword [eax]
fchs
fstp qword [eax]
fld qword [eax + 0x20]
fchs
fstp qword [eax + 0x20]
fld qword [eax + 0x40]
fchs
fstp qword [eax + 0x40]
jmp 0x447cd0
fld qword [eax + 8]
fchs
fstp qword [eax + 8]
fld qword [eax + 0x28]
fchs
fstp qword [eax + 0x28]
fld qword [eax + 0x48]
fchs
fstp qword [eax + 0x48]
fld qword [eax + 0x10]
fchs
fstp qword [eax + 0x10]
fld qword [eax + 0x30]
fchs
fstp qword [eax + 0x30]
fld qword [eax + 0x50]
fchs
fstp qword [eax + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x154]
inc ecx
test ebx, ebx
mov dword [eax + 0x154], ecx
jne 0x447d02
call fcn.00447330
cmp edi, 4
je 0x447d79
test ebx, ebx
jne 0x447d10
call fcn.00447330
push 0x218
push 1
call fcn.00547150
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x447d33
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x74]
push 0
push ecx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x2c]
push edx
push ecx
push eax
mov esi, eax
call fcn.00448d10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x58], eax
add esp, 0x14
mov dword [esi + 0x5c], ecx
mov edx, dword [esp + 0xc]
push edx
call fcn.00447450
add esp, 4
test ebx, ebx
je 0x447dcd
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call fcn.004467f0
add esp, 0xc
cmp eax, 1
je 0x447dbe
mov edx, dword [esp + 0xc]
push edx
call fcn.00446690
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [ebx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 5
jne 0x447dd6
xor ebx, ebx
jmp 0x447df4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edi
push edx
push eax
call fcn.004467f0
mov ebx, eax
add esp, 0xc
cmp ebx, 1
je 0x4480ef
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00446690
add esp, 4
cmp edi, 4
jne 0x447e56
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
lea esi, [eax + 0xd0]
lea edi, [edx + 0xd0]
xor eax, eax
mov dword [esp + 0x8c], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x14c]
mov edx, dword [esp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edx + 0x14c], ecx
mov eax, dword [esp + 0xc]
push eax
call fcn.004b4020
mov eax, dword [0x571920]
add esp, 4
cmp eax, 0x54
jne 0x447ed2
xor esi, esi
cmp edi, esi
jne 0x447e80
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004486e0
add esp, 4
mov ecx, dword [esp + 0xc]
fld qword [ecx + 0x50]
fabs
fsub qword [0x550f30]
fabs
fcomp qword [0x550f90]
fnstsw ax
test ah, 1
je 0x447eba
mov eax, ecx
mov dword [ecx + 0x38], esi
mov edx, dword [esp + 0xc]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [edx + 0x3c], esi
mov eax, dword [esp + 0xc]
push eax
jmp 0x447fd5
push ecx
call fcn.00448200
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00447450
add esp, 8
jmp 0x447fdd
cmp edi, 3
je 0x447fdd
cmp edi, 4
je 0x44807d
cmp edi, 5
je 0x447fdd
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x447fe1
mov edx, ecx
mov esi, eax
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0xc4]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], ecx
push edx
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x58], 0
push eax
mov dword [esp + 0x60], 0
call fcn.004464c0
fld qword [esi + 0x10]
fabs
fcomp qword [0x550f90]
add esp, 0xc
fnstsw ax
test ah, 1
je 0x447fa6
fld qword [esi + 0x30]
fabs
fcomp qword [0x550f90]
fnstsw ax
test ah, 1
je 0x447fa6
fld qword [esi + 0x50]
fabs
fsub qword [0x550f30]
fabs
fcomp qword [0x550f90]
fnstsw ax
test ah, 1
je 0x447fa6
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00447450
add esp, 4
mov eax, dword [esp + 0xc]
cmp edi, 4
je 0x448081
mov ecx, dword [0x578ca0]
test ecx, ecx
je 0x448081
push eax
mov dword [0x584ce8], eax
call fcn.004b4020
call fcn.004b2410
mov eax, dword [0x5838d8]
mov esi, eax
or ah, 4
shr esi, 0xa
and esi, 1
mov dword [0x5838d8], eax
call fcn.00446d40
mov edx, dword [0x5838d8]
mov eax, dword [0x578c98]
mov ecx, dword [esp + 0x10]
and esi, 1
shl esi, 0xa
and dh, 0xfb
push eax
or esi, edx
push ecx
mov dword [0x5838d8], esi
call fcn.0042b2c0
add esp, 0xc
test eax, eax
je 0x448078
call fcn.00447330
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push eax
mov dword [0x584ce8], edx
call fcn.004481a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00447330
mov eax, dword [esp + 0xc]
cmp edi, 4
mov dword [0x584ce8], eax
jne 0x4480a2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xcc]
and ecx, 0xffffffdf
mov dword [eax + 0xcc], ecx
mov eax, dword [esp + 0xc]
test ebx, ebx
je 0x44810d
mov ecx, dword [esp + 0x10]
mov edx, dword [0x585050]
push 0
push ebx
push eax
push ecx
push edx
call fcn.00446cb0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [0x585054]
push 0
push ebx
push eax
push ecx
push edx
call fcn.00446cb0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push 0
push eax
push ecx
call fcn.004bc360
add esp, 0x34
call fcn.00449960
jmp 0x44810d
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x218
push 1
push eax
mov dword [0x584ce8], edx
call fcn.0054714a
add esp, 0xc
call fcn.004463f0
mov ecx, dword [0x584ce8]
push ecx
call fcn.004b4020
add esp, 4
call fcn.004b2410
mov eax, dword [0x5838d8]
mov esi, eax
or ah, 4
shr esi, 0xa
and esi, 1
mov dword [0x5838d8], eax
call fcn.00446d40
mov edx, dword [0x5838d8]
mov eax, dword [0x584ce8]
and esi, 1
and dh, 0xfb
shl esi, 0xa
or esi, edx
mov dword [0x5838d8], esi
mov cl, byte [eax + 0xcc]
test cl, 1
je 0x448176
push 2
call fcn.004b2490
add esp, 4
call fcn.00438390
push 3
call fcn.004b2470
add esp, 4
call fcn.004b6580
call fcn.004b2410
cmp edi, 5
jne 0x448194
call fcn.00449290
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret