Function at 0x1000eb50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c9cd
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x101fb2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
call fcn.10011830
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0x84], 0
jne 0x1000ebbe
push str.cant_create_curl
mov ecx, dword [ebp - 0x190]
add ecx, 0x58
call fcn.1000ea70
mov eax, 1
jmp 0x1000f35c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push 0x101717e4
call fcn.1000d0f0
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push 0x101717e8
call fcn.1000d0f0
mov eax, dword [ebp - 0x190]
add eax, 0x24
push eax
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10011090
add esp, 0x38
mov dword [ebp - 0x1ec], eax
lea ecx, [ebp - 0x210]
call fcn.10003810
push 0xffffffffffffffff
push 0x2f
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.1000e390
push eax
push 0
lea edx, [ebp - 0x144]
push edx
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.1000da10
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.10006550
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x101717ec
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x190]
call fcn.1000f380
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.10006550
push eax
call fcn.10145ead
add esp, 8
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x88], eax
lea ecx, [ebp - 0x228]
call fcn.10003810
mov edx, dword [ebp - 0x190]
cmp dword [edx + 0x88], 0
jne 0x1000ecfc
push str.cant_open_file
mov ecx, dword [ebp - 0x190]
add ecx, 0x58
call fcn.1000ea70
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1a0]
jmp 0x1000f35c
push 0x1017175f
lea ecx, [ebp - 0x12c]
call fcn.10002880
mov byte [ebp - 4], 2
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000ef2f
push 0xffffffffffffffff
push 0x2f
mov ecx, dword [ebp - 0x190]
add ecx, 0xc
call fcn.1000e390
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x174]
push ecx
mov ecx, dword [ebp - 0x190]
add ecx, 0xc
call fcn.1000da10
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2f
mov ecx, dword [ebp - 0x190]
add ecx, 0xc
call fcn.1000e390
add eax, 1
push eax
lea edx, [ebp - 0x18c]
push edx
mov ecx, dword [ebp - 0x190]
add ecx, 0xc
call fcn.1000da10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x12c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f0], esp
lea edx, [ebp - 0x174]
push edx
call fcn.10002a00
call fcn.100114f0
add esp, 0x1c
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jge 0x1000ee07
mov dword [ebp - 0x1a8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.10003810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.10003810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1a8]
jmp 0x1000f35c
push 0x10171775
lea ecx, [ebp - 0x15c]
call fcn.10002880
mov byte [ebp - 4], 5
lea eax, [ebp - 0x15c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f4], esp
lea edx, [ebp - 0x18c]
push edx
call fcn.10002a00
call fcn.100114f0
add esp, 0x1c
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jge 0x1000eeb3
mov dword [ebp - 0x1b0], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.100037f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.10003810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.10003810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1b0]
jmp 0x1000f35c
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.100115d0
add esp, 8
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x12c]
call fcn.1000ead0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.100037f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.100037f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.10003810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.10003810
jmp 0x1000ef9d
lea ecx, [ebp - 0x12c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f8], esp
mov edx, dword [ebp - 0x190]
add edx, 0xc
push edx
call fcn.10002a00
call fcn.100114f0
add esp, 0x1c
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jge 0x1000ef9d
mov dword [ebp - 0x1c0], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1c0]
jmp 0x1000f35c
lea ecx, [ebp - 0x12c]
call fcn.10006530
push eax
push 0x2712
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.10014900
add esp, 0xc
push 0x1000f5c0
push 0x4e2b
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.10014900
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
push 0x2711
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.10014900
add esp, 0xc
push 1
push 0x29
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x84]
push edx
call fcn.10014900
add esp, 0xc
push 0x1000f3c0
push 0x4e6f
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.10014900
add esp, 0xc
mov edx, dword [ebp - 0x190]
push edx
push 0x272d
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.10014900
add esp, 0xc
push 3
push 0x54
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.10014900
add esp, 0xc
push 0
push 0x2b
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x84]
push edx
call fcn.10014900
add esp, 0xc
push 0x1000f4b0
push 0x4e58
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.10014900
add esp, 0xc
mov edx, dword [ebp - 0x190]
push edx
push 0x2749
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.10014900
add esp, 0xc
push 1
push 0x34
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.10014900
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x190]
call fcn.1000f380
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.1000d4d0
add esp, 4
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.10003810
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x198]
cmp dword [eax + 0x74], 0
jl 0x1000f187
jg 0x1000f15f
mov ecx, dword [ebp - 0x198]
cmp dword [ecx + 0x70], 0
jbe 0x1000f187
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [edx + 0x70]
push ecx
push 0x75a4
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.10014900
add esp, 0x10
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x84]
push edx
call fcn.10011870
add esp, 4
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x88]
push ecx
call fcn.1014494d
add esp, 4
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x84]
push eax
call fcn.100117f0
add esp, 4
cmp dword [ebp - 0x194], 0x2a
jne 0x1000f20b
mov dword [ebp - 0x1d4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1d4]
jmp 0x1000f35c
cmp dword [ebp - 0x194], 0
jne 0x1000f229
mov ecx, dword [ebp - 0x190]
movzx edx, byte [ecx + 0x90]
test edx, edx
je 0x1000f2e5
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.10141bc0
add esp, 0xc
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x8c]
push eax
push str.httpcode:_d__CURLcode:_d_
push 0x103
lea ecx, [ebp - 0x114]
push ecx
call fcn.1000f770
add esp, 0x14
mov edx, dword [ebp - 0x190]
add edx, 0x58
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.1000e570
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
push edx
mov ecx, dword [ebp - 0x190]
add ecx, 0x58
call fcn.1000ea00
lea ecx, [ebp - 0x270]
call fcn.100037f0
mov dword [ebp - 0x1cc], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1cc]
jmp 0x1000f35c
push 1
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.10006550
push eax
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x190]
call fcn.1000f380
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
call fcn.10006550
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x288]
call fcn.10003810
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100037f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10003810
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013e455
mov esp, ebp
pop ebp
ret 4