Function at 0x40c2c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Get graphical window text
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x43a812
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x44cb68]
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 1
push ecx
call fcn.0042b0d1
mov edx, dword [eax]
lea eax, [esp + 0x18]
push 0x44b390
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.0042b0e4
mov ebx, 2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.00430a37
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.00430942
mov edi, dword [esp + 0x48]
mov dword [edi*4 + 0x45c7b4], ebx
mov eax, dword [esi + edi*4 + 0xe98]
cmp eax, ebp
jne 0x40ca2d
push 0x14
call fcn.0042f5bf
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebp
mov byte [esp + 0x40], 3
je 0x40c370
mov ecx, eax
call fcn.00407780
jmp 0x40c372
xor eax, eax
push ebp
push 0x3f
push 1
push ebp
mov ecx, eax
mov byte [esp + 0x50], 1
mov dword [esi + edi*4 + 0xe98], eax
call fcn.004384a8
test eax, eax
je 0x40ca21
cmp dword [esi + 0x1890], ebp
je 0x40c4e8
mov eax, dword [0x45b730]
mov ecx, dword [esi + 0x1894]
push eax
push ecx
call fcn.0041c0d2
add esp, 8
test eax, eax
je 0x40c4e8
mov eax, dword [esi + 0x1894]
mov ecx, dword [esi + edi*4 + 0xe98]
push 0x37a
push eax
call fcn.00438600
test eax, eax
je 0x40cad0
mov ecx, dword [0x44cb68]
mov dword [esp + 0x48], ecx
lea ebp, [esi + 0x146c]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x44], 4
call fcn.0042cfea
mov eax, dword [edi*4 + 0x45ba6c]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0040c1b0
mov ebx, eax
lea edx, [esp + 0x10]
push 0x44c1ec
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x4c], 5
call fcn.00430b93
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x4c], 6
call fcn.00430b2d
push 0x44c1c4
lea edx, [esp + 0x1c]
mov bl, 7
push eax
push edx
mov byte [esp + 0x4c], bl
call fcn.00430b93
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 8
call fcn.00430d16
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.00430942
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 6
call fcn.00430942
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 5
call fcn.00430942
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 4
call fcn.00430942
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0042ee92
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebx
mov edx, dword [esi + 0x1488]
push eax
push 0
push 0xb6
push edx
call ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00430942
mov byte [edi + 0x45c944], 0
jmp 0x40cb73
call fcn.0041bfd4
shl eax, 2
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp eax, 1
jne 0x40c630
mov eax, dword [0x45b730]
mov ecx, dword [esi + edi*4 + 0xe98]
push 0x332
push eax
call fcn.00438600
test eax, eax
je 0x40cad0
mov ecx, dword [0x44cb68]
mov dword [esp + 0x48], ecx
lea ebp, [esi + 0x146c]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x44], 9
call fcn.0042cfea
mov eax, dword [edi*4 + 0x45ba6c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c1b0
mov ebx, eax
lea edx, [esp + 0x10]
push 0x44c1ec
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x4c], 0xa
call fcn.00430b93
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x4c], 0xb
call fcn.00430b2d
push 0x44c19c
lea edx, [esp + 0x28]
mov bl, 0xc
push eax
push edx
mov byte [esp + 0x4c], bl
call fcn.00430b93
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 0xd
call fcn.00430d16
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.00430942
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0xb
call fcn.00430942
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xa
call fcn.00430942
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 9
call fcn.00430942
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0042ee92
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebx
mov edx, dword [esi + 0x1488]
push eax
push 0
push 0xb6
push edx
call ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00430942
mov byte [edi + 0x45c944], 0
jmp 0x40cb73
cmp eax, ebx
jne 0x40c784
mov eax, dword [0x45b730]
mov ecx, dword [esi + edi*4 + 0xe98]
push 0x333
push eax
call fcn.00438600
test eax, eax
jne 0x40c678
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], al
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
xor al, al
jmp 0x40cb94
mov ecx, dword [0x44cb68]
mov dword [esp + 0x48], ecx
lea ebp, [esi + 0x146c]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x44], 0xe
call fcn.0042cfea
mov eax, dword [edi*4 + 0x45ba6c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c1b0
mov ebx, eax
lea edx, [esp + 0x10]
push 0x44c1ec
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x4c], 0xf
call fcn.00430b93
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x4c], 0x10
call fcn.00430b2d
push 0x44c174
lea edx, [esp + 0x28]
mov bl, 0x11
push eax
push edx
mov byte [esp + 0x4c], bl
call fcn.00430b93
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 0x12
call fcn.00430d16
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.00430942
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0x10
call fcn.00430942
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xf
call fcn.00430942
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0xe
call fcn.00430942
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0042ee92
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebx
mov edx, dword [esi + 0x1488]
push eax
push 0
push 0xb6
push edx
call ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00430942
mov byte [edi + 0x45c944], 0
jmp 0x40cb73
cmp eax, 3
jne 0x40c8d9
mov eax, dword [0x45b730]
mov ecx, dword [esi + edi*4 + 0xe98]
push 0x333
push eax
call fcn.00438600
test eax, eax
jne 0x40c7cd
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], al
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
xor al, al
jmp 0x40cb94
mov ecx, dword [0x44cb68]
mov dword [esp + 0x48], ecx
lea ebp, [esi + 0x146c]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x44], 0x13
call fcn.0042cfea
mov eax, dword [edi*4 + 0x45ba6c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c1b0
mov ebx, eax
lea edx, [esp + 0x10]
push 0x44c1ec
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x4c], 0x14
call fcn.00430b93
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x4c], 0x15
call fcn.00430b2d
push 0x44c14c
lea edx, [esp + 0x28]
mov bl, 0x16
push eax
push edx
mov byte [esp + 0x4c], bl
call fcn.00430b93
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 0x17
call fcn.00430d16
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.00430942
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0x15
call fcn.00430942
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0x14
call fcn.00430942
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0x13
call fcn.00430942
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0042ee92
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebx
mov edx, dword [esi + 0x1488]
push eax
push 0
push 0xb6
push edx
call ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00430942
mov byte [edi + 0x45c944], 0
jmp 0x40cb73
cmp eax, ebp
jne 0x40ca21
mov eax, dword [0x45b730]
mov ecx, dword [esi + edi*4 + 0xe98]
push 0x332
push eax
call fcn.00438600
test eax, eax
jne 0x40c921
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], al
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
xor al, al
jmp 0x40cb94
mov ecx, dword [0x44cb68]
mov dword [esp + 0x48], ecx
lea ebp, [esi + 0x146c]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x44], 0x18
call fcn.0042cfea
mov eax, dword [edi*4 + 0x45ba6c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c1b0
mov ebx, eax
lea edx, [esp + 0x10]
push 0x44c1ec
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x4c], 0x19
call fcn.00430b93
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x4c], 0x1a
call fcn.00430b2d
push 0x44c124
lea edx, [esp + 0x28]
mov bl, 0x1b
push eax
push edx
mov byte [esp + 0x4c], bl
call fcn.00430b93
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 0x1c
call fcn.00430d16
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.00430942
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0x1a
call fcn.00430942
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0x19
call fcn.00430942
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0x18
call fcn.00430942
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0042ee92
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebx
mov edx, dword [esi + 0x1488]
push eax
push 0
push 0xb6
push edx
call ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00430942
mov byte [edi + 0x45c944], 0
jmp 0x40cb73
lea ecx, [esp + 0x28]
mov byte [edi + 0x45c944], 1
call fcn.00431785
mov eax, dword [esp + 0x4c]
push ebp
push 0x8000
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 0x1d
call fcn.00431897
test eax, eax
jne 0x40ca9a
push ebp
push ebp
push 0x44c114
call fcn.00433b99
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 1
call fcn.004317da
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
xor al, al
jmp 0x40cb94
lea ecx, [esp + 0x28]
call fcn.00431b91
push eax
push 0x452e28
lea ecx, [esp + 0x30]
call fcn.004319b4
cmp eax, ebp
jne 0x40caf6
push ebp
push ebp
push 0x44c114
call fcn.00433b99
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 1
call fcn.004317da
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
xor al, al
jmp 0x40cb94
mov ecx, dword [esi + edi*4 + 0xe98]
push ebp
push eax
push 0x452e28
mov ecx, dword [ecx + 4]
push ecx
call sub.WSOCK32.dll_send
lea ecx, [esp + 0x28]
call fcn.00431ab2
mov edx, dword [0x45b410]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
mov dword [edi*4 + 0x45bf1c], ebp
mov byte [edi + 0x45c0ac], 0
call esi
cmp eax, 0xffffffff
je 0x40cb54
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x45b410]
push eax
call ebx
mov ecx, dword [0x45b410]
push ecx
call esi
cmp eax, 0xffffffff
jne 0x40cb3e
mov ecx, dword [edi*4 + 0x45c110]
lea eax, [edi*4 + 0x45c110]
inc ecx
mov byte [esp + 0x40], 1
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.004317da
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00430942
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00430942
mov al, 1
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8