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

Disassembly:
sub esp, 0x158
push esi
mov esi, ecx
mov al, byte [esi + 0x10f4]
test al, al
je 0x47e5a2
mov eax, 0xffffffff
pop esi
add esp, 0x158
ret 4
mov al, byte [esi + 0x1170]
test al, al
je 0x47e5b3
mov ecx, esi
call fcn.00482770
mov al, byte [esi + 0x220]
test al, al
je 0x47e5c4
mov ecx, esi
call fcn.004798d0
mov ecx, dword [esi + 0x560]
or eax, 0xffffffff
cmp ecx, eax
je 0x47f0f5
mov eax, dword [esi]
push ebx
push ebp
push edi
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 1
lea eax, [esp + 0xcc]
push eax
call fcn.004d8540
lea ecx, [esp + 0x84]
push ecx
push eax
mov dword [esp + 0x8c], 0x28
call fcn.004d85a0
mov edx, dword [esp + 0xa4]
mov ecx, dword [0x6609a0]
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
xor eax, eax
push eax
mov dword [esp + 0x168], edx
mov edx, dword [0x6609a4]
push eax
mov dword [esp + 0x118], ecx
push eax
lea ecx, [esp + 0x138]
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], ebp
mov byte [esp + 0xe4], 0
mov byte [esp + 0xe5], 0
mov byte [esp + 0xe6], 0
mov byte [esp + 0xe7], 0
mov byte [esp + 0xe8], 0
mov byte [esp + 0xe9], 0
mov byte [esp + 0xea], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0x3f800000
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], 0xbf800000
mov dword [esp + 0x10c], 0xbf800000
mov dword [esp + 0x110], 0xbf800000
mov dword [esp + 0x114], 0xbf800000
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
call fcn.004998c0
mov edx, dword [esi + 0x560]
push 0
push 0
push 0
lea eax, [esp + 0xe4]
push eax
lea ecx, [esi + 0x228]
push edx
call fcn.0045f6e0
push 1
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xe4]
call fcn.0045a470
fild dword [eax]
fstp dword [esp + 0x64]
fild dword [eax + 4]
fild dword [eax + 8]
fstp dword [esp + 0x6c]
fild dword [eax + 0xc]
mov al, byte [esp + 0x16c]
test al, al
jne 0x47e7c4
mov ecx, dword [esi + 0x10f0]
fstp st(0)
push ecx
fstp st(0)
lea ecx, [esi + 0x528]
call fcn.004568a0
mov ecx, dword [esi + 0x10f0]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x40]
push eax
call dword [edx + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
jmp 0x47e87c
mov ecx, dword [esp + 0x164]
lea eax, [ebx + edi]
sar eax, 1
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fld dword [esp + 0x6c]
add ecx, ebp
fsub dword [esp + 0x64]
sar ecx, 1
mov dword [esp + 0x40], ecx
fmul dword [0x65c358]
fld st(1)
fsub st(1)
call fcn.00487bd0
fild dword [esp + 0x40]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x5c]
fxch st(2)
fsub st(3)
fmul dword [0x65c358]
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
fsub dword [esp + 0x28]
call fcn.00487bd0
fxch st(1)
fadd st(1)
mov dword [esp + 0x14], eax
call fcn.00487bd0
fstp st(0)
fstp st(0)
mov dword [esp + 0x18], eax
fld dword [esp + 0x28]
fadd dword [esp + 0x5c]
call fcn.00487bd0
fild dword [esp + 0x10]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fild dword [esp + 0x14]
mov dword [esp + 0x10], edx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fild dword [esp + 0x18]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fild dword [esp + 0x1c]
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fild dword [esp + 0x158]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x10]
mov dword [esp + 0x1c], edx
fadd st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
fadd st(1)
fstp dword [esp + 0x18]
fstp st(0)
fild dword [esp + 0x15c]
fld dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x1c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x74]
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
fld dword [esp + 0x74]
fmul dword [0x660cb0]
fdiv st(1)
fstp dword [esp + 0x28]
fld dword [0x660cc0]
fmul st(1)
fld dword [esp + 0x6c]
fsub dword [esp + 0x64]
fmul dword [0x660cc0]
fst dword [esp + 0x7c]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x47e92f
fld dword [esp + 0x7c]
fcomp dword [0x65c2f4]
fnstsw ax
test ah, 5
jnp 0x47e92f
fcom dword [0x65c2f4]
fnstsw ax
test ah, 0x41
jne 0x47e933
fstp st(0)
mov dword [esp + 0x78], 0x3f800000
jmp 0x47e937
fdiv dword [esp + 0x7c]
fstp dword [esp + 0x78]
fcomp dword [0x660cb0]
fnstsw ax
test ah, 5
jp 0x47e996
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
fmul qword [0x65c2f8]
fstp dword [esp + 0x64]
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fmul qword [0x65c2f8]
fst dword [esp + 0x68]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x20]
fld dword [esp + 0x64]
fistp dword [esp + 0x3c]
fild dword [esp + 0x3c]
fld qword [0x660cb8]
fsubr st(1)
fstp dword [esp + 0x10]
fadd qword [0x660cb8]
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x47e9fb
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
fmul qword [0x65c2f8]
fstp dword [esp + 0x64]
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fmul qword [0x65c2f8]
fst dword [esp + 0x68]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x20]
fld dword [esp + 0x64]
fistp dword [esp + 0x3c]
fild dword [esp + 0x20]
fld dword [esp + 0x28]
fmul qword [0x65c2f8]
fld st(1)
fsub st(1)
fstp dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
xor eax, eax
push 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push 0xcf0000
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
fld dword [esp + 0x1c]
fsub dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub ebx, eax
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x164]
sub edi, edx
sub eax, dword [esp + 0x58]
sub ebp, ecx
sub eax, ebp
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
sub ebx, edi
mov dword [esp + 0x64], ebx
fstp dword [esp + 0x20]
fld dword [esp + 0x74]
fdiv dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
fdiv dword [esp + 0x28]
fst dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x47ea93
fstp dword [esp + 0x24]
jmp 0x47ea9d
mov ecx, dword [esp + 0x24]
fstp st(0)
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
fcomp dword [0x65c2f4]
fnstsw ax
test ah, 0x41
jne 0x47eac3
fld dword [esp + 0x7c]
fcomp dword [0x65c2f4]
fnstsw ax
test ah, 0x41
jne 0x47eac3
mov al, 1
jmp 0x47eac5
xor al, al
mov bl, byte [esp + 0x16c]
test bl, bl
je 0x47eb8f
test al, al
je 0x47ec6c
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
fmul qword [0x65c2f8]
fstp dword [esp + 0x64]
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fmul qword [0x65c2f8]
fst dword [esp + 0x68]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x20]
fld dword [esp + 0x64]
fistp dword [esp + 0x3c]
fild dword [esp + 0x3c]
fld dword [0x65c2f4]
fdiv dword [esp + 0x24]
fst dword [esp + 0x24]
fmul dword [esp + 0x5c]
fmul qword [0x65c2f8]
fst qword [esp + 0x3c]
fld st(1)
fsubrp st(1)
fstp dword [esp + 0x64]
fild dword [esp + 0x20]
mov edx, dword [esp + 0x64]
fld dword [esp + 0x74]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x24]
fmul qword [0x65c2f8]
fld st(1)
fsub st(1)
fstp dword [esp + 0x68]
fld qword [esp + 0x3c]
mov eax, dword [esp + 0x68]
fadd st(3)
mov dword [esp + 0x14], eax
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fadd st(1)
mov dword [esp + 0x18], ecx
fstp st(2)
fstp st(0)
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], edx
jmp 0x47ec6c
test al, al
je 0x47eb9f
fld dword [esp + 0x24]
fmul dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x5c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x47ec07
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
fmul qword [0x65c2f8]
fstp dword [esp + 0x7c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fmul qword [0x65c2f8]
fst dword [esp + 0x80]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fistp dword [esp + 0x24]
fld dword [esp + 0x7c]
fistp dword [esp + 0x5c]
fild dword [esp + 0x5c]
fild dword [esp + 0x64]
fmul qword [0x65c2f8]
fld st(1)
fsub st(1)
fstp dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x74]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x47ec6c
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
fmul qword [0x65c2f8]
fstp dword [esp + 0x5c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fmul qword [0x65c2f8]
fst dword [esp + 0x60]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fistp dword [esp + 0x64]
fld dword [esp + 0x5c]
fistp dword [esp + 0x20]
fild dword [esp + 0x64]
fild dword [esp + 0x3c]
fmul qword [0x65c2f8]
fld st(1)
fsub st(1)
fstp dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x47ec8a
fld dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x47ec9d
mov eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jmp 0x47ed11
fld dword [esp + 0x1c]
fadd qword [0x65c2f8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x24]
fld dword [esp + 0x18]
fadd qword [0x65c2f8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x5c]
fld dword [esp + 0x14]
fsub qword [0x65c2f8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x64]
fld dword [esp + 0x10]
fsub qword [0x65c2f8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
push 0
push 0xcf0000
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esi + 0x10fc]
test eax, eax
jne 0x47eda8
push 0x26c
call fcn.004a1180
mov edi, eax
add esp, 4
test edi, edi
je 0x47ed64
mov ecx, edi
call fcn.004d9a30
mov byte [edi + 0x264], 0
mov dword [edi + 0x268], 0xff7f7f7f
mov dword [edi], vtable.ytBGNode.0
jmp 0x47ed66
xor edi, edi
mov ecx, dword [esi + 0x10fc]
cmp edi, ecx
je 0x47ed89
test ecx, ecx
je 0x47ed79
mov edx, dword [ecx]
call dword [edx + 4]
test edi, edi
mov dword [esi + 0x10fc], edi
je 0x47ed89
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [esi + 0x10fc]
cmp byte [eax + 0x20f], 1
je 0x47eda8
mov ecx, dword [eax + 8]
or ecx, 3
mov byte [eax + 0x20f], 1
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x47eded
mov ecx, dword [eax + 0x19c]
mov edi, 0xfffffffe
test edi, ecx
je 0x47eded
test edi, ecx
jbe 0x47edcf
mov ecx, dword [eax + 0x198]
mov ecx, dword [ecx]
jmp 0x47edd1
xor ecx, ecx
mov edx, dword [esi + 0x10fc]
push 1
push edx
call fcn.004db800
mov eax, dword [esi + 0x13c]
test dword [eax + 0x19c], edi
jne 0x47edc3
mov eax, dword [esi + 0x10fc]
push eax
mov ecx, esi
call fcn.00504220
mov ecx, dword [esi + 0x13c]
lea eax, [esi + 0x228]
push eax
call fcn.004e0ba0
lea ecx, [esi + 0x1c5c]
test ecx, ecx
je 0x47ee1f
lea eax, [esi + 0x1c94]
jmp 0x47ee21
xor eax, eax
mov ecx, dword [esi + 0x13c]
push eax
call fcn.004e0ba0
test bl, bl
jne 0x47ee38
mov ecx, esi
call fcn.0047f100
mov edx, dword [esp + 0x78]
push edx
push 1
lea ecx, [esi + 0x528]
call fcn.00456880
test bl, bl
mov eax, dword [esi + 0x13c]
mov byte [eax + 0x22e], 1
mov ecx, dword [esi + 0x10f0]
mov byte [ecx + 0x22e], 1
jne 0x47ee7a
mov edx, dword [esi]
push 5
push 0
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 + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0xc]
fld dword [esp + 0x28]
fld dword [0x660cb0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x47eea8
fstp st(0)
fld dword [0x660cb0]
xor edi, edi
xor ebx, ebx
call fcn.00487bd0
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 0x1c]
add eax, 8
mov ecx, eax
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov eax, 0x140
mov dword [ecx + 0xc], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [eax + 0x5c]
push 1
push eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
lea ecx, [esp + 0x12c]
mov byte [esi + 0x10f4], 1
call fcn.00499ac0
mov eax, dword [esp + 0x128]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebp, ebp
cmp eax, ebp
je 0x47ef60
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x47ef60
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47ef4c
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x47ef47
push esi
call ebx
and eax, 0xff
jmp 0x47ef4c
mov eax, 0xff
cmp eax, ebp
jne 0x47ef60
mov eax, dword [esp + 0x128]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x124]
cmp eax, ebp
mov dword [esp + 0x128], ebp
je 0x47efc4
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x47efc4
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47efb0
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x47efab
push esi
call ebx
and eax, 0xff
jmp 0x47efb0
mov eax, 0xff
cmp eax, ebp
jne 0x47efc4
mov eax, dword [esp + 0x124]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x120]
cmp eax, ebp
mov dword [esp + 0x124], ebp
je 0x47f028
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x47f028
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f014
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x47f00f
push esi
call ebx
and eax, 0xff
jmp 0x47f014
mov eax, 0xff
cmp eax, ebp
jne 0x47f028
mov eax, dword [esp + 0x120]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x11c]
cmp eax, ebp
mov dword [esp + 0x120], ebp
je 0x47f08c
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x47f08c
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f078
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x47f073
push esi
call ebx
and eax, 0xff
jmp 0x47f078
mov eax, 0xff
cmp eax, ebp
jne 0x47f08c
mov eax, dword [esp + 0x11c]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x118]
cmp eax, ebp
mov dword [esp + 0x11c], ebp
je 0x47f0f0
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x47f0f0
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x47f0dc
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x47f0d7
push esi
call ebx
and eax, 0xff
jmp 0x47f0dc
mov eax, 0xff
cmp eax, ebp
jne 0x47f0f0
mov eax, dword [esp + 0x118]
push eax
call fcn.00499410
add esp, 4
pop edi
pop ebp
xor eax, eax
pop ebx
pop esi
add esp, 0x158
ret 4