Function at 0x476c60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x10], ebx
call fcn.00466730
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x889
push eax
mov dword [0x5e9fbc], eax
call esi
mov dword [0x5f0374], eax
xor eax, eax
cmp dword [0x5f03ac], eax
push 0
sete al
push eax
push 0x84c
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5f0398]
push 0x8d4
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5f0858]
push 0x8d6
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5f0850]
push 0x7f4
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5f0840]
push 0x84a
push dword [0x5e9fbc]
call esi
mov edi, dword [0x5e9fbc]
xor ecx, ecx
cmp dword [0x5ed3c0], ecx
je 0x476d3d
cmp dword [0x5e9fa4], ecx
jne 0x476d38
push ecx
push ecx
push 0xfa2
push edi
call esi
xor ecx, ecx
cmp eax, 2
setne cl
add ecx, 2
jmp 0x476d3d
mov ecx, 1
push 0
push ecx
push 0x854
push edi
call esi
cmp dword [0x5eca30], 0
push 0
jne 0x476d57
push 0
jmp 0x476d64
xor eax, eax
cmp dword [0x5f083c], eax
setne al
inc eax
push eax
push 0x8dc
push dword [0x5e9fbc]
call esi
mov eax, dword [0x5f0a70]
cmp eax, 5
jne 0x476d81
push 0
push 1
jmp 0x476de5
cmp eax, 6
jne 0x476d8c
push 0
push 2
jmp 0x476de5
dec eax
xor ecx, ecx
cmp eax, 3
ja case.default.0x476d94
jmp dword [eax*4 + 0x477230]
mov ecx, 1
jmp case.default.0x476d94
mov ecx, 2
jmp case.default.0x476d94
mov eax, dword [0x5f0840]
test eax, eax
mov ecx, dword [0x5f0850]
cmovne ecx, eax
jmp case.default.0x476d94
mov ecx, dword [0x5f0840]
test ecx, ecx
je 0x476dc9
add ecx, ecx
jmp case.default.0x476d94
mov eax, dword [0x5f0850]
lea ecx, [eax + eax]
push 0
push ecx
push 0x9a0
push dword [0x5e9fbc]
call esi
push 0
push 0
push 0x9a8
push dword [0x5e9fbc]
call esi
cmp dword [0x5f0a74], 0
je 0x476ea4
mov ebx, dword [0x5f039c]
xor edi, edi
test ebx, ebx
mov dword [esp + 0xc], edi
mov eax, 0x16
cmove ebx, eax
mov eax, 0x66666667
imul ebx
mov dword [0x5f039c], ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ebx
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
sub edx, 1
je 0x476e44
sub edx, 1
jne 0x476e4d
lea edi, [edx + 1]
jmp 0x476e4d
mov edi, 1
mov dword [esp + 0xc], edi
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, 1
je 0x476e78
sub ecx, 1
jne 0x476e7e
or edi, 2
jmp 0x476e7e
or edi, 2
or eax, 2
push 0
push eax
push 0x99e
push dword [0x5e9fbc]
call esi
push 0
push edi
push 0x99c
push dword [0x5e9fbc]
call esi
mov ebx, dword [esp + 0x10]
jmp 0x476eb5
push 0
push 0
push 0x99c
push dword [0x5e9fbc]
call esi
cmp dword [0x5f02b0], 0
push 0
je 0x476ed0
xor eax, eax
cmp dword [0x5f0838], 1
setne al
inc eax
push eax
jmp 0x476ed2
push 0
push 0x93b
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5f036c]
push 0x939
push dword [0x5e9fbc]
call esi
push 0
push 2
push 0x8c2
push dword [0x5e9fbc]
call esi
mov eax, dword [0x5efe34]
neg eax
sbb eax, eax
and eax, 0x10
push eax
push 1
push 0x8c2
push dword [0x5e9fbc]
call esi
call fcn.00482240
mov ecx, dword [0x5f0374]
push 0
push 2
push 0x8c0
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xfe000000
push 2
push 0x8c4
mov eax, dword [ecx]
call dword [eax + 0x104]
mov eax, dword [0x5ecc68]
mov ecx, dword [0x5f0374]
neg eax
sbb eax, eax
and eax, 0xb
mov edx, dword [ecx]
push eax
push 2
push 0x8c2
call dword [edx + 0x104]
mov ecx, dword [0x5f0374]
push 1
push 2
push 0x8c6
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xe
push 0x1f
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xc
push 0x1e
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 9
push 0x1d
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xa
push 0x1c
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xd
push 0x19
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xf
push 0x1a
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0xb
push 0x1b
push 0x7f8
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
push 0
push 0x10
push 0x8b9
mov eax, dword [ecx]
call dword [eax + 0x104]
xor eax, eax
cmp dword [0x5eca40], eax
push 0
setne al
push eax
push 0x7e5
push dword [0x5e9fbc]
call esi
push 0
push dword [0x5ed61c]
push 0x934
push dword [0x5e9fbc]
call esi
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, edi
mov dword [0x5e9a50], 0
mov dword [0x5e9190], 0
call fcn.00477240
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0xfb05
push ebx
push 0xa
push 0xa
push 0
push 0
push 0x46000000
push 0
push 0x41f78c
push 0
call esi
push 0x5f05e0
push 0xfb05
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push edi
push 0xfb06
push ebx
push 0xa
push 0xa
push 0xa
push 0xa
push 0x46000000
push 0
push 0x41f78c
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0xfb06
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 1
push ebx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x268
push 0x40
call ebx
push 0x268
mov esi, eax
push 0
push esi
call fcn.00583650
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
add esp, 0xc
push 0x100
push 0x41d710
push esi
call edi
mov ecx, esi
mov dword [esi + 0x200], 1
mov dword [esi + 0x204], 0x18
mov dword [0x5f0390], esi
call fcn.00474ef0
push 0x268
push 0x40
call ebx
push 0x268
mov esi, eax
push 0
push esi
call fcn.00583650
add esp, 0xc
push 0x100
push 0x41f79c
push esi
call edi
mov ecx, esi
mov dword [esi + 0x200], 2
mov dword [esi + 0x204], 0x10
mov dword [0x5f02e4], esi
call fcn.00474ef0
push 0x268
push 0x40
call ebx
push 0x268
mov esi, eax
push 0
push esi
call fcn.00583650
add esp, 0xc
push 0x100
push 0x41f7b4
push esi
call edi
mov ecx, esi
mov dword [esi + 0x200], 2
mov dword [esi + 0x204], 0x10
mov dword [0x5f0388], esi
call fcn.00474ef0
cmp dword [0x5e9fbc], 0
je 0x477224
cmp dword [0x5eca44], 0
je 0x477224
cmp dword [0x5e9b6c], 0
je 0x477224
cmp dword [0x5e9a04], 0
je 0x477224
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret