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

Disassembly:
sub esp, 0x148
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x10f4]
xor ebx, ebx
cmp al, bl
jne 0x47f244
pop esi
mov eax, 0xffffffff
pop ebx
add esp, 0x148
ret
cmp byte [esi + 0x1170], bl
je 0x47f253
mov ecx, esi
call fcn.00482770
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [eax + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x47f27b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [eax + 0x5c]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x124]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 1
lea eax, [esp + 0x144]
push eax
call fcn.004d8540
lea ecx, [esp + 0xec]
push ecx
push eax
mov dword [esp + 0xf4], 0x28
call fcn.004d85a0
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov ecx, eax
call fcn.004d7cf0
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, esi
call fcn.0047c6f0
cmp eax, ebx
jne 0x47f9ff
push ebp
push edi
call fcn.004c7b00
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x58]
sub eax, edi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub edx, ebp
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
fmul qword [0x65c2f8]
mov dword [esp + 0x18], edx
sub ecx, dword [esp + 0x20]
fiadd dword [esp + 0x50]
mov dword [esp + 0x10], ecx
sub esp, 8
fild dword [esp + 0x18]
fmul qword [0x65c2f8]
fsubp st(1)
fadd qword [0x660cc8]
fisub dword [esp + 0x28]
fstp qword [esp]
call fcn.00489a00
fstp dword [esp + 0x18]
fild dword [esp + 0x1c]
fmul qword [0x65c2f8]
fiadd dword [esp + 0x54]
fild dword [esp + 0x20]
fmul qword [0x65c2f8]
fsubp st(1)
fisub dword [esp + 0x24]
fstp qword [esp]
call fcn.00489a00
mov edx, dword [esp + 0x18]
add esp, 8
lea eax, [esp + 0x5c]
lea edi, [esi + 0x528]
fstp dword [esp + 0x5c]
push eax
mov ecx, edi
mov dword [esp + 0x64], edx
call fcn.00455b10
fild dword [esp + 0x1c]
mov ecx, dword [esi + 0x10f0]
mov edx, dword [ecx]
fstp dword [esp + 0x3c]
push ebx
fild dword [esp + 0x24]
lea eax, [esp + 0xe8]
push eax
fstp dword [esp + 0x48]
fild dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fild dword [esp + 0x30]
fstp dword [esp + 0x50]
call dword [edx + 0x34]
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xbf800000
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0xbf800000
mov ecx, dword [0x6609a0]
mov edx, dword [0x6609a4]
push ebx
push ebx
mov dword [esp + 0xa4], ecx
push ebx
lea ecx, [esp + 0xc4]
mov dword [esp + 0xa0], 0xbf800000
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call fcn.004998c0
mov ecx, dword [esi + 0x560]
push ebx
push ebx
push ebx
lea eax, [esp + 0x70]
push eax
lea ebp, [esi + 0x228]
push ecx
mov ecx, ebp
call fcn.0045f6e0
push 1
push 1
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x70]
call fcn.0045a470
fild dword [eax]
fstp dword [esp + 0x2c]
fild dword [eax + 4]
fstp dword [esp + 0x30]
fild dword [eax + 8]
fstp dword [esp + 0x34]
fild dword [eax + 0xc]
fstp dword [esp + 0x38]
fld dword [esp + 0x44]
fsub dword [esp + 0x3c]
fsub dword [0x66025c]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x40]
fsub dword [0x66025c]
fstp dword [esp + 0x10]
fld dword [esp + 0xec]
fsub dword [esp + 0xe4]
fdivr dword [esp + 0x14]
fld dword [esp + 0xf0]
fsub dword [esp + 0xe8]
fdivr dword [esp + 0x10]
fstp dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x47f566
fstp st(0)
fld dword [esp + 0x18]
fld dword [esp + 0x34]
fsub dword [esp + 0x2c]
fdivr dword [esp + 0x14]
fld dword [esp + 0x38]
fsub dword [esp + 0x30]
fdivr dword [esp + 0x10]
fstp dword [esp + 0x10]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x47f593
fstp st(0)
fld dword [esp + 0x10]
fcom dword [0x65c2f4]
fnstsw ax
test ah, 0x41
jne 0x47f5a4
fdivp st(1)
jmp 0x47f5a6
fstp st(0)
fld dword [0x65c2f4]
push ecx
fdiv st(1)
mov ecx, edi
fstp dword [esp]
push ebx
fstp st(0)
call fcn.00456880
cmp dword [esi + 0x10f8], ebx
je 0x47f613
mov eax, dword [esi + 0x13c]
mov ecx, dword [eax + 0x19c]
mov edi, 0xfffffffe
test edi, ecx
je 0x47f605
test edi, ecx
jbe 0x47f5e7
mov eax, dword [eax + 0x198]
mov ecx, dword [eax]
jmp 0x47f5e9
xor ecx, ecx
mov edx, dword [esi + 0x10f8]
push 1
push edx
call fcn.004db800
mov eax, dword [esi + 0x13c]
test dword [eax + 0x19c], edi
jne 0x47f5db
mov eax, dword [esi + 0x10f8]
push eax
mov ecx, esi
call fcn.00504220
lea ecx, [esi + 0x6b8]
push ecx
mov ecx, dword [esi + 0x13c]
call fcn.004e0ba0
mov ecx, dword [esi + 0x13c]
push ebp
call fcn.004e0ba0
lea edx, [esi + 0x1c5c]
test edx, edx
je 0x47f643
lea eax, [esi + 0x1c94]
jmp 0x47f645
xor eax, eax
mov ecx, dword [esi + 0x13c]
push eax
call fcn.004e0ba0
mov eax, dword [esi + 0x13c]
mov byte [eax + 0x22e], bl
mov ecx, dword [esi + 0x10f0]
push 1
push str.ss_close
mov byte [ecx + 0x22e], bl
call fcn.004fe790
push 1
push str.ss_skirt
call fcn.004fe790
push str.ss_filmcontainer
call fcn.004fdfa0
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
je 0x47f705
mov ecx, ebp
call fcn.004e0640
push 0x28
call fcn.00489377
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x47f6ea
mov ecx, edi
call fcn.004ccfa0
mov dword [edi], vtable.ytHandler.0
call fcn.004a99d0
fadd qword [0x65c0b0]
mov dword [edi + 0x10], 0x40
mov dword [edi + 0x14], pe_nt_image_headers32
fstp qword [edi + 8]
mov byte [edi + 0x18], 2
mov byte [edi + 0x1b], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi], vtable.HideTimer.0
jmp 0x47f6ec
xor edi, edi
push edi
mov ecx, ebp
call fcn.004e0ba0
push 0x3dcccccd
push pe_nt_image_headers32
mov ecx, ebp
call fcn.004e00e0
push str.ss_actions
call fcn.004fdfa0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x47f796
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x6c]
mov ecx, ebp
call fcn.004e0640
lea eax, [esi + 0x600]
push eax
mov ecx, ebp
call fcn.004e0ba0
cmp byte [esi + 0x222], bl
je 0x47f796
push 0x28
call fcn.00489377
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x47f78c
mov ecx, edi
call fcn.004ccfa0
mov dword [edi], vtable.ytHandler.0
call fcn.004a99d0
fadd qword [0x65c0b0]
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], pe_nt_image_headers32
fstp qword [edi + 8]
mov byte [edi + 0x18], 2
mov byte [edi + 0x1b], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi], vtable.HideTimer.0
jmp 0x47f78e
xor edi, edi
push edi
mov ecx, ebp
call fcn.004e0ba0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [eax + 0x5c]
push 5
push ebx
push ebx
push ebx
push 0xffffc180
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
push 5
push 2
mov ecx, esi
call dword [edx + 0x1c]
mov ecx, eax
call fcn.004d75e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [eax + 0x5c]
push 1
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
lea ecx, [esp + 0xb8]
mov byte [esi + 0x10f4], bl
call fcn.00499ac0
mov eax, dword [esp + 0xb4]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
je 0x47f873
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x47f873
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f85f
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x47f85a
push esi
call ebp
and eax, 0xff
jmp 0x47f85f
mov eax, 0xff
cmp eax, ebx
jne 0x47f873
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0xb0]
cmp eax, ebx
mov dword [esp + 0xb4], ebx
je 0x47f8d5
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x47f8d5
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f8c1
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x47f8bc
push esi
call ebp
and eax, 0xff
jmp 0x47f8c1
mov eax, 0xff
cmp eax, ebx
jne 0x47f8d5
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0xac]
cmp eax, ebx
mov dword [esp + 0xb0], ebx
je 0x47f937
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x47f937
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f923
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x47f91e
push esi
call ebp
and eax, 0xff
jmp 0x47f923
mov eax, 0xff
cmp eax, ebx
jne 0x47f937
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
mov dword [esp + 0xac], ebx
je 0x47f999
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x47f999
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f985
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x47f980
push esi
call ebp
and eax, 0xff
jmp 0x47f985
mov eax, 0xff
cmp eax, ebx
jne 0x47f999
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0xa4]
cmp eax, ebx
mov dword [esp + 0xa8], ebx
je 0x47f9fb
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x47f9fb
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f9e7
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x47f9e2
push esi
call ebp
and eax, 0xff
jmp 0x47f9e7
mov eax, 0xff
cmp eax, ebx
jne 0x47f9fb
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00499410
add esp, 4
pop edi
xor eax, eax
pop ebp
pop esi
pop ebx
add esp, 0x148
ret