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

Disassembly:
push 0xffffffffffffffff
push 0x45c02d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
mov eax, dword [0x47bdb8]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x360], eax
mov eax, dword [ebx + 0x6c]
push esi
push edi
lea edi, [eax - 1]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x48], ebx
jl 0x409b57
cmp edi, ebp
jl 0x409e47
cmp edi, dword [ebx + 0x6c]
jge 0x409e47
mov eax, dword [ebx + 0x68]
mov esi, dword [eax + edi*4]
cmp esi, ebp
lea eax, [eax + edi*4]
je 0x409b50
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 0x409af0
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 0x409b0d
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 0x409b2a
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 0x409b47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.00440f68
add esp, 4
dec edi
jns 0x409ab1
mov eax, dword [ebx + 0x68]
cmp eax, ebp
je 0x409b6a
push eax
call fcn.00440f68
add esp, 4
mov dword [ebx + 0x68], ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x6c], ebp
mov eax, dword [ebx + 0x1c]
push 0x1009
push eax
call edi
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x374], ebp
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x374], 1
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x374], 2
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
or eax, 0xffffffff
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x37c]
cmp esi, 7
mov dword [esp + 0x374], 3
mov dword [esp + 0x24], esi
jne 0x40a16e
push ebp
lea ecx, [esp + 0x240]
call fcn.004297b0
mov eax, dword [0x49ba24]
push ebp
push ebp
push eax
lea ecx, [esp + 0x248]
mov byte [esp + 0x380], 4
call fcn.0042a9a0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
push 0x4620c8
lea ecx, [esp + 0x248]
mov byte [esp + 0x380], 6
call fcn.0042a6f0
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x374], 7
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
xor ecx, ecx
cmp esi, ebp
mov byte [esp + 0x374], 8
mov dword [esp + 0x10], ecx
jle 0x40a0aa
lea ebx, [ebx]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + ecx*4]
cmp eax, ebp
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x1c], edx
je 0x40a09d
cmp edx, ebp
je 0x40a09d
mov edi, dword [eax + 4]
mov esi, dword [eax]
call fcn.00441045
cmp esi, ebp
jne 0x409d08
cmp edi, ebp
jne 0x40a164
mov edx, dword [eax]
push 1
push edi
mov ecx, eax
call dword [edx]
cmp eax, ebp
je 0x40a15f
test edi, edi
lea ebp, [eax + 0x10]
mov dword [esp + 0x74], ebp
jl 0x40a164
cmp edi, dword [ebp - 8]
jg 0x40a164
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 + 0x74]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 9
call fcn.004018d0
lea eax, [ebp - 0x10]
mov byte [esp + 0x374], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x409e4c
push 0x4620c4
push esi
call fcn.00417f4f
add esp, 8
test eax, eax
je 0x409e4c
sub eax, esi
mov esi, eax
cmp esi, 0xffffffff
je 0x409e4c
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
call fcn.004032c0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x378], 0xa
call fcn.004018d0
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x374], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
call fcn.00403150
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 0xb
call fcn.004018d0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x374], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409e68
call fcn.0043998c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.004018d0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004018d0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x409ec0
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409eb2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409eb2
push eax
call fcn.00401290
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409ea9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x2c], ebp
jmp 0x409ec0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004017a0
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 4]
mov esi, dword [eax]
call fcn.00441045
test esi, esi
jne 0x409eda
test edi, edi
jne 0x40a164
mov edx, dword [eax]
push 1
push edi
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40a15f
test edi, edi
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
jl 0x40a164
cmp edi, dword [ebp - 8]
jg 0x40a164
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 + 0x1c]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x378], 0xc
call fcn.004018d0
lea eax, [ebp - 0x10]
mov byte [esp + 0x374], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409f54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 1
push 0x46203c
lea ecx, [esp + 0x28]
call fcn.00403230
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00403230
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.004034f0
mov ecx, dword [0x49ba24]
mov eax, dword [eax]
push ecx
push 0x80
lea edx, [esp + 0x1c4]
push edx
push 0x4620c0
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409fc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x1bc]
push eax
call fcn.004180c4
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x34], esi
je 0x40a01c
lea ecx, [esp + 0x78]
call fcn.00425260
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x378], 0xd
call fcn.00424660
test eax, eax
jne 0x40a00b
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x78]
mov byte [esp + 0x374], 8
call fcn.00424ef0
mov ebx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
lea esi, [ebx - 0x10]
mov dword [esp + 0x20], esp
mov ebp, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x40a04d
cmp eax, dword [esi]
jne 0x40a04d
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40a07f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40a15f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 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 + 0x4c]
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x28]
push eax
call fcn.004094d0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
xor ebp, ebp
inc ecx
cmp ecx, esi
mov dword [esp + 0x10], ecx
jl 0x409cd0
lea eax, [ebx - 0x10]
mov byte [esp + 0x374], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x374], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x374], 0xe
call fcn.00402d60
mov eax, dword [esp + 0x4c]
cmp eax, ebp
mov byte [esp + 0x374], 5
je 0x40a11c
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x374], 0xf
call fcn.00402d60
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov byte [esp + 0x374], 4
je 0x40a146
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0x23c]
mov byte [esp + 0x374], 3
call fcn.0042a8a0
jmp 0x40a2da
call fcn.00401280
push 0x80070057
call fcn.00401130
cmp esi, 6
jne 0x40a213
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00405950
add esp, 8
lea ecx, [esp + 0x78]
mov byte [esp + 0x374], 0x10
call fcn.00425260
push ebp
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x37c], 0x11
call fcn.00425290
cmp eax, ebp
mov dword [esp + 0x34], eax
jne 0x40a1c0
mov dword [esp + 0x34], 0xffffffff
push 0xd
push str.SendShare.ini
lea ecx, [esp + 0x34]
call fcn.004017a0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x462da4
call fcn.00401b00
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.004094d0
mov eax, dword [ebx + 0x1c]
push ebp
push ebp
push 0x1043
push eax
call edi
push 2
push 2
push ebp
mov ecx, ebx
call fcn.0043a07b
mov byte [esp + 0x374], 0x10
jmp 0x40a2ab
cmp esi, 4
jne 0x40a2fe
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00405950
add esp, 8
mov bl, 0x12
lea ecx, [esp + 0x78]
mov byte [esp + 0x374], bl
call fcn.00425260
push 0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x37c], 0x13
call fcn.00425290
test eax, eax
mov dword [esp + 0x34], eax
jne 0x40a267
mov dword [esp + 0x34], 0xffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x462d98
call fcn.00401b00
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.004094d0
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x1043
push eax
call edi
push 2
push 2
push 0
mov ecx, esi
call fcn.0043a07b
mov byte [esp + 0x374], bl
lea ecx, [esp + 0x78]
call fcn.00424ef0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x374], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x374], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40a54f
lea eax, [esp + 0xb8]
push esi
push eax
call fcn.004055c0
lea edi, [esp + 0xc0]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a317
mov cx, word [0x462a00]
lea edx, [esp + 0x14]
push esi
push edx
mov word [edi], cx
call fcn.00405890
mov eax, dword [eax]
add esp, 8
mov edx, eax
jmp 0x40a340
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a340
lea edi, [esp + 0xb8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a351
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 0x40a387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x8c]
call fcn.0040efd2
push ebp
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x37c], 0x14
xor edi, edi
call fcn.0040f065
cmp eax, ebp
je 0x40a51c
lea ebx, [ebx]
lea ecx, [esp + 0x8c]
call fcn.0040edb3
lea ecx, [esp + 0x8c]
mov dword [esp + 0x44], eax
call fcn.0040ef99
test eax, eax
jne 0x40a4de
mov edx, dword [esp + 0x8c]
push 0x10
lea ecx, [esp + 0x90]
call dword [edx + 0x38]
test eax, eax
jne 0x40a4de
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
call fcn.0040f28d
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x378], 0x15
call fcn.004018d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x374], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a448
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00405b80
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
mov dword [esp + 0x34], esi
je 0x40a4bd
lea ecx, [esp + 0xa4]
call fcn.00425260
push esi
lea ecx, [esp + 0xa8]
mov byte [esp + 0x378], 0x16
call fcn.00424660
test eax, eax
jne 0x40a4a9
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0xa4]
mov byte [esp + 0x374], 0x14
call fcn.00424ef0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
lea ecx, [esp + 0x94]
call fcn.0040f15d
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.004094d0
inc edi
cmp dword [esp + 0x44], ebp
jne 0x40a3c0
cmp edi, ebp
jle 0x40a51c
mov eax, dword [ebx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x1004
push eax
call esi
test eax, eax
jle 0x40a51c
mov ecx, dword [ebx + 0x1c]
push ebp
push ebp
push 0x1043
push ecx
call esi
push 2
push 2
push ebp
mov ecx, ebx
call fcn.0043a07b
lea ecx, [esp + 0x8c]
mov byte [esp + 0x374], 3
call fcn.0040eff6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x374], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a559
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x36c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x368]
call fcn.0041723c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 4