Function at 0x10028ed7
Capabilities:
Send file using ftp

Disassembly:
push 0x18
mov eax, 0x100a2b0f
call fcn.1009de3f
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
mov esi, dword [ebx + 0x74]
mov dword [ebx + 0x20], ecx
test ecx, ecx
je 0x10028f0c
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, 0x640003
jne 0x10028f0c
test esi, esi
je 0x10028f0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x10028ff8
cmp dword [ebx + 0x20], edi
jne 0x1002911f
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 0x10028fb5
mov eax, dword [ebx + 0x84]
xorps xmm0, xmm0
test eax, eax
je 0x10028fa0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x100c7b90]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100c7b90]
mulss xmm0, dword [0x100c7b60]
cvtpd2ps xmm1, xmm1
divss xmm0, xmm1
call fcn.1009df75
push eax
push 0x100b0de0
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.100372c4
mov edi, dword [ebx + 0x70]
lea ecx, [ebx + 0x54]
push edi
lea eax, [edi + 1]
mov dword [ebx + 0x70], eax
call fcn.10042763
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 0x1002911f
mov eax, dword [ebx + 0x70]
cmp eax, dword [ebx + 0x4c]
jae 0x1002911f
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 0x10029049
or eax, 0xffffffff
lock xadd dword [ecx + 0x2c], eax
jne 0x10029049
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x34
call fcn.10042763
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10029072
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
push eax
push dword [ebx + 0x14]
mov ecx, esi
call fcn.10042763
jmp 0x10029074
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.1002e12d
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.10042763
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x100290fd
lea ecx, [ebp + 8]
call edi
jmp 0x100291aa
mov ecx, dword [ebx + 0x74]
or eax, 0xffffffff
lock xadd dword [ecx + 0x2c], eax
jne 0x10029114
test ecx, ecx
je 0x10029114
mov eax, dword [ecx]
push 1
call dword [eax]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call edi
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x1002919e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
cmp dword [ebx + 0x6c], edi
je 0x1002916c
cmp dword [ebx + 0x5c], edi
je 0x10029148
push edi
lea ecx, [ebx + 0x54]
call fcn.10008e91
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x1002914b
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 0x10029194
lea ecx, [ebx + 0x54]
lea edx, [ebp + 8]
call fcn.10020448
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 0x10029194
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x100291aa
cmp dword [ebx + 0x20], edi
je 0x100291aa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
call fcn.1009de13
ret 8