Function at 0x409690
Capabilities:
Get graphical window text
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x453f91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x348
mov eax, dword [0x472d88]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x34c], eax
mov eax, dword [ebp + 0x6c]
push esi
push edi
lea edi, [eax - 1]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x3c], ebp
jl 0x409777
cmp edi, ebx
jl 0x409978
cmp edi, dword [ebp + 0x6c]
jge 0x409978
mov eax, dword [ebp + 0x68]
mov esi, dword [eax + edi*4]
cmp esi, ebx
lea eax, [eax + edi*4]
je 0x409770
mov eax, dword [esi + 0x14]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40972d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40974a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409767
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.00438f94
add esp, 4
dec edi
jns 0x4096d1
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x40978a
push eax
call fcn.00438f94
add esp, 4
mov dword [ebp + 0x68], ebx
push ebx
push ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], ebx
mov eax, dword [ebp + 0x1c]
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x360], ebx
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x360], 1
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x360], 2
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or edi, 0xffffffff
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x368]
cmp esi, 7
mov dword [esp + 0x360], 3
mov dword [esp + 0x18], esi
jne 0x409c55
push ebx
lea ecx, [esp + 0x22c]
call fcn.00428420
mov eax, dword [0x48bf84]
push ebx
push ebx
push eax
lea ecx, [esp + 0x234]
mov byte [esp + 0x36c], 4
call fcn.00429610
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x48]
push edx
push 0x45a0a0
lea ecx, [esp + 0x234]
mov byte [esp + 0x36c], 6
call fcn.00429360
cmp eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jle 0x409b6a
mov edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ecx*4]
test eax, eax
mov edx, dword [esp + 0x54]
mov ebp, dword [edx + ecx*4]
je 0x409b50
test ebp, ebp
je 0x409b50
mov edi, dword [eax + 4]
mov esi, dword [eax]
call fcn.00439071
test esi, esi
jne 0x4098e8
test edi, edi
jne 0x409c4b
mov edx, dword [eax]
push 1
push edi
mov ecx, eax
call dword [edx]
test eax, eax
je 0x409c46
add eax, 0x10
test edi, edi
mov dword [esp + 0x40], eax
jl 0x409c4b
cmp edi, dword [eax - 8]
jg 0x409c4b
mov ecx, edi
mov edx, ecx
mov dword [eax - 0xc], edi
mov byte [edi + eax], 0
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
mov byte [esp + 0x360], 7
je 0x40998b
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40997d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40997d
push ecx
call fcn.00401290
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40996f
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x40998b
call fcn.00431951
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401750
mov edi, dword [ebp + 4]
mov esi, dword [ebp]
call fcn.00439071
test esi, esi
jne 0x4099a2
test edi, edi
jne 0x409c4b
mov edx, dword [eax]
push 1
push edi
mov ecx, eax
call dword [edx]
test eax, eax
je 0x409c46
test edi, edi
lea ebp, [eax + 0x10]
mov dword [esp + 0x38], ebp
jl 0x409c4b
cmp edi, dword [ebp - 8]
jg 0x409c4b
mov ecx, edi
mov eax, ecx
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x364], 8
call fcn.00401880
lea eax, [ebp - 0x10]
mov byte [esp + 0x360], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409a1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 1
push 0x45ad68
lea ecx, [esp + 0x48]
call fcn.00404dc0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00404dc0
mov eax, dword [0x48bf84]
mov edx, dword [esp + 0x20]
push eax
push 0x80
lea ecx, [esp + 0xac]
push ecx
push 0x45a09c
push edx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xa4]
push eax
call fcn.00417a52
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x409ab9
lea ecx, [esp + 0x64]
call fcn.00424bc0
push esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x364], 9
call fcn.00424000
test eax, eax
jne 0x409aa8
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x64]
mov byte [esp + 0x360], 7
call fcn.00424850
mov ebp, dword [esp + 0x40]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebx, esp
call dword [edx + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
lea ecx, [ebp + 0xc]
jl 0x409aeb
cmp eax, dword [ebp]
jne 0x409aeb
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409b1d
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x409c46
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
add eax, 0x10
mov dword [ebx], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00408ec0
mov byte [esp + 0x360], 6
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b50
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4098b0
xor ebx, ebx
or edi, 0xffffffff
lea ecx, [esp + 0x54]
mov byte [esp + 0x360], 0xa
call fcn.00402cf0
mov eax, dword [esp + 0x54]
cmp eax, ebx
mov byte [esp + 0x360], 5
je 0x409b94
push eax
call fcn.00438f94
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x360], 0xb
call fcn.00402cf0
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov byte [esp + 0x360], 4
je 0x409bbe
push eax
call fcn.00438f94
add esp, 4
lea ecx, [esp + 0x228]
mov byte [esp + 0x360], 3
call fcn.00429510
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x360], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x40a0cd
call fcn.00401280
push 0x80070057
call fcn.00401130
cmp esi, 6
jne 0x409d4f
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004054c0
add esp, 8
mov bl, 0xc
lea ecx, [esp + 0x64]
mov byte [esp + 0x360], bl
call fcn.00424bc0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x364], 0xd
call fcn.00424bf0
test eax, eax
mov dword [esp + 0x28], eax
jne 0x409ca4
mov dword [esp + 0x28], 0xffffffff
push 0xd
push str.SendShare.ini
lea ecx, [esp + 0x28]
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45ad4c
call fcn.00401ab0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00408ec0
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0x1043
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 2
push 0
mov ecx, ebp
call fcn.00432040
lea ecx, [esp + 0x64]
mov byte [esp + 0x360], bl
call fcn.00424850
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x360], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x360], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40a073
cmp esi, 4
jne 0x409e35
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004054c0
add esp, 8
mov bl, 0xe
lea ecx, [esp + 0x64]
mov byte [esp + 0x360], bl
call fcn.00424bc0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x364], 0xf
call fcn.00424bf0
test eax, eax
mov dword [esp + 0x28], eax
jne 0x409d9e
mov dword [esp + 0x28], 0xffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45ad40
call fcn.00401ab0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00408ec0
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0x1043
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 2
push 0
mov ecx, ebp
call fcn.00432040
lea ecx, [esp + 0x64]
mov byte [esp + 0x360], bl
call fcn.00424850
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x360], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x360], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40a073
lea eax, [esp + 0x124]
push esi
push eax
call fcn.004050f0
lea edi, [esp + 0x12c]
add esp, 8
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x409e50
mov cx, word [0x45a9a8]
lea edx, [esp + 0x14]
push esi
push edx
mov word [edi], cx
call fcn.00405400
mov eax, dword [eax]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409e74
lea edi, [esp + 0x124]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409e85
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x78]
call fcn.0040ea03
push ebx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x368], 0x10
xor edi, edi
call fcn.0040ea96
cmp eax, ebx
je 0x40a043
mov bl, 0x11
lea ecx, [ecx]
lea ecx, [esp + 0x78]
call fcn.0040e7e4
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], eax
call fcn.0040e9ca
test eax, eax
jne 0x409ffe
mov edx, dword [esp + 0x78]
push 0x10
lea ecx, [esp + 0x7c]
call dword [edx + 0x38]
test eax, eax
jne 0x409ffe
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040ecbe
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x364], bl
call fcn.00401880
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x360], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004056f0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x409fdd
lea ecx, [esp + 0x90]
call fcn.00424bc0
push esi
lea ecx, [esp + 0x94]
mov byte [esp + 0x364], 0x12
call fcn.00424000
test eax, eax
jne 0x409fc9
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x90]
mov byte [esp + 0x360], 0x10
call fcn.00424850
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push ecx
lea ecx, [esp + 0x80]
call fcn.0040eb8e
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00408ec0
inc edi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x409ef0
test edi, edi
jle 0x40a043
mov eax, dword [ebp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push eax
call esi
test eax, eax
jle 0x40a043
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0x1043
push ecx
call esi
push 2
push 2
push 0
mov ecx, ebp
call fcn.00432040
lea ecx, [esp + 0x78]
mov byte [esp + 0x360], 3
call fcn.0040ea27
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x360], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a07d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a09b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x354]
call fcn.00416c7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x354
ret 4