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

Disassembly:
push 0xffffffffffffffff
push 0x660478
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x120]
fld dword [ecx + 0x460]
fsub dword [esi + 0x460]
fstp dword [esp + 0x3c]
fld dword [ecx + 0x468]
fsub dword [esi + 0x468]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
call fcn.00509ad0
push eax
call fcn.00508990
add esp, 4
test al, al
je 0x50d4f7
fld dword [esp + 0x1c]
fcomp qword [0x687788]
fnstsw ax
test ah, 1
jne 0x50d508
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
fld dword [str.BINARY_PrivateShop_Disappear]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jnp 0x50d4d9
mov ecx, esi
call fcn.00509930
test eax, eax
je 0x50d4d9
mov ecx, dword [esi + 0x41c]
call fcn.0052e610
mov edi, eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.005087d0
fstp dword [esp + 0x38]
mov ebx, dword [edi + 0x28]
cmp ebx, dword [edi + 0x2c]
jbe 0x50d53c
call fcn.006121a6
mov ebp, dword [edi + 0x1c]
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x28], eax
jbe 0x50d558
call fcn.006121a6
mov edi, dword [edi + 0x1c]
test ebp, ebp
je 0x50d563
cmp ebp, edi
je 0x50d568
call fcn.006121a6
cmp ebx, dword [esp + 0x14]
je 0x50d4d9
test ebp, ebp
jne 0x50d966
call fcn.006121a6
cmp ebx, dword [ebp + 0x10]
jb 0x50d589
call fcn.006121a6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
add esi, 0x550
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0050c000
mov edi, dword [esp + 0x88]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x50d5bb
cmp edi, esi
je 0x50d5c0
call fcn.006121a6
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x50d664
test edi, edi
jne 0x50d96e
call fcn.006121a6
cmp esi, dword [edi + 0x18]
jne 0x50d5e6
call fcn.006121a6
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
add esi, 0x10
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.0051df20
mov edi, dword [eax]
mov ebx, dword [esi + 0x18]
mov ebp, dword [eax + 4]
mov esi, dword [esi]
test edi, edi
je 0x50d617
cmp edi, esi
je 0x50d61c
call fcn.006121a6
cmp ebp, ebx
je 0x50d664
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], 2
je 0x50d9e2
test edi, edi
jne 0x50d975
call fcn.006121a6
cmp ebp, dword [edi + 0x18]
jne 0x50d645
call fcn.006121a6
fld dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0x30]
call fcn.005af658
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x50d9e2
fld dword [esp + 0x38]
mov ecx, dword [0x70df90]
fstp qword [esp + 0x30]
call fcn.00585b70
mov esi, dword [esp + 0x48]
fsubr qword [esp + 0x30]
lea eax, [esp + 0x14]
add esi, 0x28
push eax
fstp dword [esp + 0x18]
mov ecx, esi
call fcn.0050aca0
mov edi, eax
test esi, esi
jne 0x50d69d
call fcn.006121a6
mov ebp, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edi
call fcn.0050ace0
mov dword [esp + 0xa4], eax
test esi, esi
jne 0x50d6c9
call fcn.006121a6
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0xa0], edx
call fcn.005126e0
fmul qword [0x674388]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00613b10
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ecx, esi
fstp dword [esp + 0x3c]
call fcn.005126e0
fmul qword [0x674388]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00613c40
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ebx, dword [esp + 0x120]
fstp dword [esp + 0x14]
lea esp, [esp]
test ebp, ebp
je 0x50d73d
cmp ebp, dword [esp + 0xa0]
je 0x50d742
call fcn.006121a6
cmp edi, dword [esp + 0xa4]
je 0x50d9e2
test ebp, ebp
jne 0x50d97c
call fcn.006121a6
cmp edi, dword [ebp + 0x18]
jne 0x50d766
call fcn.006121a6
fld dword [0x6743a8]
lea ebp, [edi + 0x10]
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x70]
fld dword [ebp]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x9c]
fld dword [ebp + 4]
fsub dword [ebp + 0x10]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
call fcn.00502490
mov esi, dword [esp + 0x18]
fstp dword [esp + 0x40]
mov ecx, esi
fld dword [esp + 0x9c]
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x90]
fmul dword [esp + 0x30]
fstp dword [esp + 0x94]
fld dword [esp + 0x90]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x30]
fld dword [ebp + 0x10]
fadd dword [esp + 0x94]
fstp dword [esp + 0x40]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x40]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x58]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x5c]
call fcn.00564780
fld dword [eax]
mov ecx, esi
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [eax + 4]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [eax + 8]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [ebp + 0xc]
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fmul dword [ebp + 0x10]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x64]
fld dword [ebp + 0xc]
fmulp st(2)
fmul dword [ebp + 0x10]
faddp st(1)
fstp dword [esp + 0x68]
call fcn.00564780
fld dword [eax]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [eax + 4]
fadd dword [esp + 0x68]
mov edi, dword [ebx + 0x2f4]
mov dword [esp + 0x24], edi
fstp dword [esp + 0x68]
fld dword [eax + 8]
mov eax, dword [ebx + 0x308]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
mov eax, dword [eax]
mov ebp, eax
jmp 0x50d8b0
mov esi, dword [ebx + 0x308]
mov eax, dword [ebx + 0x2f4]
test edi, edi
je 0x50d8c4
cmp edi, eax
je 0x50d8c9
call fcn.006121a6
cmp ebp, esi
je 0x50d9c3
test edi, edi
jne 0x50d984
call fcn.006121a6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50d8ea
call fcn.006121a6
mov edi, dword [ebp + 0x24]
cmp edi, dword [ebp + 0x28]
jbe 0x50d8f7
call fcn.006121a6
mov esi, dword [ebp + 0x18]
mov ebx, edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x50], ebx
cmp dword [ebp + 0x24], edi
jbe 0x50d90d
call fcn.006121a6
mov eax, dword [ebp + 0x18]
test esi, esi
je 0x50d918
cmp esi, eax
je 0x50d91d
call fcn.006121a6
cmp ebx, edi
je 0x50d993
test esi, esi
jne 0x50d98b
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50d936
call fcn.006121a6
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.00512ae0
add esp, 8
test al, al
jne 0x50da14
test esi, esi
jne 0x50d98f
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50d961
call fcn.006121a6
add ebx, 0x1c
jmp 0x50d8fc
mov ebp, dword [ebp]
jmp 0x50d57f
mov edi, dword [edi]
jmp 0x50d5dc
mov edi, dword [edi]
jmp 0x50d63b
mov ebp, dword [ebp]
jmp 0x50d75c
mov eax, dword [edi]
jmp 0x50d8e0
mov eax, dword [esi]
jmp 0x50d92c
mov eax, dword [esi]
jmp 0x50d957
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x50d9bf
call fcn.006121a6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50d9ac
call fcn.006121a6
mov ebp, dword [ebp]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x120]
jmp 0x50d8b0
mov eax, dword [eax]
jmp 0x50d9a2
lea ecx, [esp + 0x80]
call fcn.00597c10
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
jmp 0x50d730
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x50da0f
call fcn.006121a6
xor eax, eax
mov ebx, dword [esp + 0x48]
cmp ebx, dword [eax + 0x10]
jb 0x50d9ff
call fcn.006121a6
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ebx, 0x48
jmp 0x50d543
mov eax, dword [ebp]
jmp 0x50d9f1
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x34], ecx
add esi, 0x550
push eax
mov ecx, esi
call fcn.0050c000
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x50da48
cmp edi, eax
je 0x50da4d
call fcn.006121a6
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
jne 0x50db6b
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x27]
push edx
lea ecx, [esp + 0xb0]
call fcn.00596b60
mov edi, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x118], 0
call fcn.005af658
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov ebx, dword [esp + 0x120]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xb0]
fstp dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.0050c7d0
sub esp, 0x20
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
call fcn.0050cdc0
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.0050d010
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x11c], 1
mov dword [esp + 0xcc], edx
call fcn.0050cdc0
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
mov byte [esp + 0x120], 2
call fcn.0050d340
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 1
call fcn.005654d0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0
call fcn.005654d0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x118], 0xffffffff
call fcn.005654d0
jmp 0x50dc0b
mov ecx, dword [esp + 0x18]
call fcn.005af658
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fstp dword [esp + 0x28]
test edi, edi
jne 0x50dbef
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x50dbad
call fcn.006121a6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x10]
call fcn.0050c7d0
test edi, edi
jne 0x50dbf3
call fcn.006121a6
cmp ebx, dword [edi + 0x18]
jne 0x50dbd5
call fcn.006121a6
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebx + 0x2c]
cmp eax, 2
je 0x50dbf7
cmp eax, 1
je 0x50dbf7
cmp ebx, dword [ebp + 0x14]
jle 0x50dc00
jmp 0x50d4d9
mov eax, dword [edi]
jmp 0x50dba3
mov edi, dword [edi]
jmp 0x50dbcb
cmp ebx, 0x10
jg 0x50d4d9
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x120]
mov ecx, ebx
call fcn.00564780
mov ecx, edi
mov esi, eax
call fcn.00564780
fld dword [esi]
fadd dword [eax]
mov ecx, ebx
fstp dword [esp + 0x24]
fld dword [esi + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [esi + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld qword [0x674618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x78]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x7c]
call fcn.00509ad0
push eax
call fcn.00508990
add esp, 4
test al, al
je 0x50dcd2
mov ecx, edi
call fcn.00564780
fld dword [eax]
mov ecx, dword [esp + 0x50]
fadd dword [ecx]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x50]
fld dword [eax + 8]
fadd dword [ecx + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fld qword [0x674618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esp + 0x50]
mov dword [esp + 0x74], edx
fmul st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
fmul dword [esp + 0x54]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + 0x2d0]
push 1
push edx
lea eax, [esp + 0x7c]
push eax
push ebx
push ebp
mov ecx, edi
call fcn.005094a0
mov eax, 1
jmp 0x50d4db