Function at 0x10029687
Capabilities:
Send file using ftp

Disassembly:
push 0x18
mov eax, 0x100a1fff
call fcn.1009cbf0
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x20], ecx
call fcn.1002e7ed
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x10029792
cmp dword [ebx + 0x20], edi
jne 0x100298b3
push dword [ebx + 0x70]
lea ecx, [ebx + 0x34]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4804]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call dword [sym.imp.fpsrvutl.dll_Ordinal_2796]
mov ecx, dword [ebx + 0x80]
mov esi, dword [ebx + 0x64]
add ecx, eax
mov dword [ebx + 0x80], ecx
test esi, esi
je 0x1002974f
mov eax, dword [ebx + 0x84]
xorps xmm0, xmm0
test eax, eax
je 0x1002973a
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x100c7190]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100c7190]
mulss xmm0, dword [0x100c7160]
cvtpd2ps xmm1, xmm1
divss xmm0, xmm1
call fcn.1009cd55
push eax
push 0x100afe24
push 2
push dword [ebx + 0x68]
call esi
mov dword [ebx + 0x20], eax
push dword [ebx + 0x70]
lea ecx, [ebx + 0x44]
mov dword [ebp + 8], edi
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
lea edx, [ebp + 8]
mov ecx, dword [eax]
call fcn.10037c2a
mov edi, dword [ebx + 0x70]
lea ecx, [ebx + 0x54]
push edi
lea eax, [edi + 1]
mov dword [ebx + 0x70], eax
call fcn.1006dd95
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + edi*4], eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.fpsrvutl.dll_Ordinal_974]
xor edi, edi
cmp dword [ebx + 0x20], edi
jne 0x100298b3
mov eax, dword [ebx + 0x70]
cmp eax, dword [ebx + 0x4c]
jae 0x100298b3
lea ecx, [ebx + 0x34]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4872]
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call dword [sym.imp.fpsrvutl.dll_Ordinal_2209]
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x100297d8
call fcn.1001e9db
call dword [sym.imp.fpsrvutl.dll_Ordinal_4348]
push 0x34
test eax, eax
je 0x100297ed
pop ecx
call dword [sym.imp.fpsrvutl.dll_Ordinal_5011]
jmp 0x100297f4
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10029815
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push eax
push dword [ebx + 0x14]
mov ecx, esi
call fcn.1006dd95
jmp 0x10029817
mov eax, edi
mov byte [ebp - 4], 1
mov dword [ebx + 0x74], eax
lock inc dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebx + 0x74]
mov eax, dword [ecx]
lea edi, [ecx + 0x44]
push dword [ecx + 0x70]
mov ecx, edi
mov esi, dword [eax + 0x4c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
mov ecx, dword [ebp - 0x10]
push eax
call esi
mov esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x70]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.1002ec27
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
push ecx
push dword [ebp + 8]
mov eax, dword [eax + 0x14]
push dword [eax + 8]
call dword [sym.imp.WININET.dll_FtpPutFileA]
mov edi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
lea ecx, [ebp - 0x14]
mov esi, eax
call edi
mov ebx, dword [ebp - 0x10]
push ecx
push dword [ebx + 0x74]
mov ecx, dword [ebx + 0x14]
push esi
call fcn.1006dd95
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x100298a0
lea ecx, [ebp + 8]
call edi
jmp 0x1002993e
mov ecx, dword [ebx + 0x74]
call fcn.1001e9db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call edi
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x10029932
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
cmp dword [ebx + 0x6c], edi
je 0x10029900
cmp dword [ebx + 0x5c], edi
je 0x100298dc
push edi
lea ecx, [ebx + 0x54]
call fcn.1000a7f6
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x100298df
mov dword [ebp + 8], edi
mov edi, dword [ebx + 0x30]
lea ecx, [ebx + 0x34]
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x34]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
push dword [ebp + 8]
mov ecx, edi
push dword [eax]
push dword [ebx + 0x20]
call esi
jmp 0x10029928
lea ecx, [ebx + 0x54]
lea edx, [ebp + 8]
call fcn.100208b2
mov ecx, dword [ebx + 0x30]
mov esi, dword [ebp + 8]
push edi
push dword [ebx + 0x70]
mov eax, dword [ecx]
push esi
push dword [ebx + 0x20]
call dword [eax + 0x38]
test esi, esi
je 0x10029928
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x1002993e
cmp dword [ebx + 0x20], edi
je 0x1002993e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
call fcn.1009cbc1
ret 8