Function at 0x4155c8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441912
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 0xfffffffe
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
cmp eax, 4
ja case.default.0x414fed
jmp dword [eax*4 + 0x415b3c]
lea esi, [esp + 0x104]
call fcn.00419180
mov ecx, esi
push ecx
mov ecx, ebx
mov dword [esp + 0x2fc], 0
call fcn.0040eb30
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x415034
push eax
mov ecx, edi
call fcn.00413a00
mov edi, esi
call fcn.00415b50
jmp case.default.0x414fed
call fcn.0041e290
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
mov dword [esp + 0x1c], eax
cmp ecx, 0xffffffff
jne 0x415055
cmp edx, 0xffffffff
je 0x415070
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], edx
call fcn.0041e490
mov ecx, dword [edi + 0x58]
sub ecx, eax
mov eax, dword [edi + 0x5c]
sbb eax, edx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], eax
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00409db0
add esp, 4
cmp byte [esp + 0x130], 0
je 0x4150bf
cmp dword [esp + 0x110], 0
jle 0x4150bf
mov eax, dword [0x456308]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x104]
push edx
push 6
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esp + 0x104]
call fcn.00415b50
jmp case.default.0x414fed
call fcn.0041acf0
mov dword [esp + 0x34], eax
call fcn.0040b3d0
lea eax, [esp + 0x1e4]
call fcn.004100f0
mov byte [esp + 0x2f8], 1
cmp dword [edi + 0x4c], 0
mov dword [esp + 0x1e4], 3
jne 0x41522c
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
mov esi, dword [esp + 0x114]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov edi, edi
mov ebx, dword [esp + 0x128]
test esi, esi
je 0x415124
cmp esi, dword [esp + 0x114]
je 0x415129
call fcn.0042bcc3
cmp dword [esp + 0x18], ebx
je 0x4151f4
test esi, esi
jne 0x4151e1
call fcn.0042bcc3
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x14]
jne 0x41514e
call fcn.0042bcc3
mov edi, dword [esp + 0x18]
add edi, 8
lea esi, [esp + 0x1e8]
call fcn.004107e0
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 0x44]
mov edx, dword [esi + 4]
add ebx, 0x30
lea ecx, [esp + 0x1e4]
push ecx
push edx
push esi
call fcn.00417e20
mov ecx, ebx
mov edi, eax
call fcn.00417ec0
cmp dword [esp + 0x14], 0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jne 0x4151e8
call fcn.0042bcc3
mov edi, dword [esp + 0x14]
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x14]
jne 0x4151ae
call fcn.0042bcc3
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esi + 8]
call fcn.0041e800
test edi, edi
jne 0x4151f0
call fcn.0042bcc3
cmp esi, dword [edi + 0x14]
jne 0x4151ce
call fcn.0042bcc3
mov edx, dword [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
jmp 0x415110
mov esi, dword [esi]
jmp 0x415140
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
jmp 0x4151a0
mov edi, dword [edi]
jmp 0x4151c4
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x1c], 8
jb 0x415215
mov eax, dword [eax + 8]
push edi
push 0x410e00
push eax
call fcn.00429160
add esp, 0xc
jmp 0x41532f
push edi
add eax, 8
push 0x410e00
push eax
call fcn.00429160
add esp, 0xc
jmp 0x41532f
mov ebx, dword [esp + 0x114]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x128]
mov esi, dword [ecx]
test ebx, ebx
je 0x415258
cmp ebx, dword [esp + 0x114]
je 0x41525d
call fcn.0042bcc3
cmp dword [esp + 0x28], esi
je 0x41531a
test ebx, ebx
jne 0x415270
call fcn.0042bcc3
mov edx, dword [esp + 0x28]
mov esi, dword [edx + 4]
mov dword [esp + 0x28], esi
test ebx, ebx
je 0x415283
mov eax, dword [ebx]
jmp 0x415285
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41528f
call fcn.0042bcc3
test ebx, ebx
jne 0x415312
call fcn.0042bcc3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4152a4
call fcn.0042bcc3
lea edi, [esi + 8]
lea esi, [esp + 0x1e8]
call fcn.004107e0
test ebx, ebx
jne 0x415316
call fcn.0042bcc3
mov eax, dword [esp + 0x28]
cmp eax, dword [ebx + 0x14]
jne 0x4152ca
call fcn.0042bcc3
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0041e800
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x44]
mov esi, dword [edx]
mov ecx, dword [esi + 4]
add ebx, 0x30
lea eax, [esp + 0x1e4]
push eax
push ecx
push esi
call fcn.00417e20
mov ecx, ebx
mov edi, eax
call fcn.00417ec0
mov ebx, dword [esp + 0x24]
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
mov edi, dword [esp + 0x20]
jmp 0x415242
mov eax, dword [ebx]
jmp 0x41529a
mov ebx, dword [ebx]
jmp 0x4152bc
cmp dword [edi + 0x48], 0
je 0x415354
mov eax, dword [edi + 4]
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x110]
mov esi, dword [esp + 0x1c]
call fcn.0041e440
mov ecx, dword [0x456308]
mov edx, dword [edi + 4]
push 0
push 5
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x1e4]
call fcn.00410760
lea edi, [esp + 0x104]
call fcn.00415b50
jmp case.default.0x414fed
call fcn.00409db0
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov dword [esp + 0x3c], vtable.CRetPutChangeList.0
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040eb30
lea ebx, [edi + 0x30]
mov eax, ebx
call fcn.00417710
cmp dword [esp + 0x44], 0
mov esi, eax
jne 0x415410
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00409db0
mov edx, dword [esp + 0x44]
add esp, 4
push edx
mov ecx, edi
call fcn.00413a00
test eax, eax
jne 0x4153f6
inc dword [esi + 0xdc]
cmp dword [esi + 0xdc], 3
jl 0x4153f6
mov eax, ebx
call fcn.00417740
mov eax, dword [0x456308]
mov ecx, dword [edi + 4]
push 0
push 9
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [0x456308]
mov eax, dword [edi + 4]
push 0
push 5
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x414fed
call fcn.0041e290
cmp dword [edi + 0x58], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x415425
cmp dword [edi + 0x5c], 0xffffffff
je 0x41543f
mov ecx, dword [esi + 0x44]
sub dword [edi + 0x60], ecx
mov eax, dword [edi + 0x60]
sbb dword [edi + 0x64], 0
mov edx, dword [edi + 0x64]
push edx
push eax
call fcn.00409db0
add esp, 8
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 4]
push edx
call fcn.0041e800
cmp dword [esi + 0x24], 0x10
jb 0x415457
mov esi, dword [esi + 0x10]
jmp 0x41545a
add esi, 0x10
push esi
call fcn.00409db0
add esp, 4
mov eax, ebx
call fcn.00417740
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
call fcn.0041e440
mov eax, dword [0x456308]
mov ecx, dword [edi + 4]
push 0
push 5
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x414fed
lea edx, [esp + 0x1c]
push edx
mov eax, ebx
push eax
mov dword [esp + 0x24], 0xc8
call dword [sym.imp.MxHttpRq.dll_GetResponseCode]
add esp, 8
lea esi, [esp + 0x14]
mov ebx, edi
call fcn.004135b0
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
jne 0x415530
call fcn.00409db0
mov ebx, dword [0x4562f8]
test ebx, ebx
je 0x4154de
push 0
call fcn.00417890
add eax, 0xc
push ebx
call fcn.00422b10
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 4
push eax
lea ecx, [esp + 0x1e8]
push ecx
call fcn.0040f3c0
mov dword [esp + 0x2f8], 2
mov edx, dword [edi + 4]
push edx
lea esi, [esp + 0x1e8]
call fcn.0040ea80
lea esi, [esp + 0x244]
call fcn.0040ffd0
lea ecx, [esp + 0x1e4]
call fcn.0040e540
jmp case.default.0x414fed
push eax
call fcn.00409db0
add esp, 4
lea esi, [esp + 0x14]
call fcn.00417890
inc dword [eax + 0xdc]
add eax, 0xdc
call fcn.00417890
cmp dword [eax + 0xdc], 3
jl 0x4155b4
mov ebx, dword [0x4562f8]
test ebx, ebx
je 0x41557c
push str.fail
lea esi, [esp + 0x18]
call fcn.00417890
add eax, 0xc
push ebx
call fcn.00422b10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
add edi, 0x30
lea ebx, [esp + 0x2c]
call fcn.00417760
mov edx, dword [0x456308]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push 0
push 9
push edx
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [esp + 0x20]
jmp 0x4153f6
lea esi, [esp + 0x14]
call fcn.00417890
mov dword [eax], 1
jmp 0x4153f6
call fcn.00409db0
call fcn.0041e290
lea esi, [esp + 0x14]
mov ebx, edi
mov dword [esp + 0x30], eax
call fcn.004135b0
cmp dword [ebp + 8], 0
je 0x4156d5
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x44]
mov eax, dword [edi + 0x30]
test ecx, ecx
je 0x4155fd
cmp ecx, eax
je 0x415602
call fcn.0042bcc3
cmp dword [esp + 0x18], esi
jne 0x41560d
call fcn.00409db0
lea esi, [esp + 0x14]
call fcn.00417890
mov edx, dword [esp + 0x30]
mov ecx, eax
add ecx, 4
push edx
call fcn.0041e800
mov ebx, dword [0x4562f8]
test ebx, ebx
je 0x41563f
push 0
call fcn.00417890
add eax, 0xc
push ebx
call fcn.00422b10
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 0xbc
cmp dword [eax + 0x18], 8
jb 0x415658
mov ebx, dword [eax + 4]
jmp 0x41565b
lea ebx, [eax + 4]
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 0xa0
cmp dword [eax + 0x18], 8
jb 0x415674
mov eax, dword [eax + 4]
jmp 0x415677
add eax, 4
push ebx
push eax
call fcn.00409db0
add esp, 8
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 0xbc
cmp dword [eax + 0x18], 8
jb 0x41569a
mov ebx, dword [eax + 4]
jmp 0x41569d
lea ebx, [eax + 4]
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 0xa0
cmp dword [eax + 0x18], 8
jb 0x4156c3
mov eax, dword [eax + 4]
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4153f6
push 1
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4153f6
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], 0xc8
call dword [sym.imp.MxHttpRq.dll_GetResponseCode]
mov edx, dword [esp + 0x24]
push edx
call fcn.00409db0
add esp, 0xc
cmp dword [esp + 0x1c], 0x194
lea esi, [esp + 0x14]
jne 0x41577b
call fcn.00417890
mov ecx, eax
mov eax, dword [esp + 0x30]
add ecx, 4
push eax
call fcn.0041e800
mov ebx, dword [0x4562f8]
test ebx, ebx
je 0x415739
push str.fail
call fcn.00417890
add eax, 0xc
push ebx
call fcn.00422b10
lea esi, [esp + 0x14]
call fcn.00417890
add eax, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x415750
mov eax, dword [eax + 4]
jmp 0x415753
add eax, 4
push eax
call fcn.00409db0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
push ecx
push edx
add edi, 0x30
lea ebx, [esp + 0x2c]
call fcn.00417760
mov edi, dword [esp + 0x20]
jmp 0x4153f6
call fcn.00417890
inc dword [eax + 0xdc]
add eax, 0xdc
lea esi, [esp + 0x14]
call fcn.00417890
cmp dword [eax + 0xdc], 3
jge 0x41555b
call fcn.00417890
mov dword [eax], 3
jmp 0x4153f6
lea ecx, [esp + 0x30]
push ecx
mov esi, 0xc8
push ebx
mov dword [esp + 0x38], esi
call dword [sym.imp.MxHttpRq.dll_GetResponseCode]
add esp, 8
cmp dword [esp + 0x30], esi
je 0x41585f
lea esi, [esp + 0x24]
mov ebx, edi
call fcn.004135b0
lea eax, [esp + 0x104]
call fcn.0040f760
mov dword [esp + 0x2f8], 3
call fcn.00417890
cmp dword [eax], 4
lea ecx, [esp + 0x164]
jne 0x41580d
push 0x4462dc
jmp 0x415812
push 0x4462fc
call fcn.00409ac0
push str.application_octet_stream
lea ecx, [esp + 0x184]
call fcn.00409ac0
lea esi, [esp + 0x24]
call fcn.00417890
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
lea ecx, [esp + 0x1c4]
call fcn.0040a3e0
mov edx, dword [edi + 4]
push edx
lea esi, [esp + 0x108]
call fcn.0040ea80
call fcn.0040f7f0
jmp case.default.0x414fed
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x84], 0x446908
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x2fc], 4
call fcn.0040eb30
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x415900
push eax
mov ecx, edi
call fcn.00413a00
jmp 0x415af7
call fcn.0041acf0
push ebx
call dword [sym.imp.MxHttpRq.dll_CreateAsynHttpClient]
add esp, 4
push ebx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.MxHttpRq.dll_SetAutoClose]
add esp, 8
lea esi, [esp + 0x24]
mov ebx, edi
call fcn.004135b0
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
mov byte [esp + 0x2f8], 5
call fcn.00417890
add eax, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41595b
mov ebx, dword [eax + 4]
jmp 0x41595e
lea ebx, [eax + 4]
lea esi, [esp + 0x24]
call fcn.00417890
mov edx, dword [eax]
push ebx
push edx
call fcn.00409db0
add esp, 8
call fcn.00417890
cmp dword [eax], 2
jne 0x4159a1
mov dword [esp + 0x1c], 0x4462fc
mov dword [esp + 0x34], 2
mov dword [esp + 0x20], 5
call fcn.00417890
add eax, 0xbc
jmp 0x4159c3
mov dword [esp + 0x1c], 0x4462dc
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 6
call fcn.00417890
add eax, 0xa0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
call fcn.00408090
cmp dword [esp + 0xfc], 0x10
mov ebx, dword [esp + 0xe8]
jae 0x4159e8
lea ebx, [esp + 0xe8]
lea esi, [esp + 0x24]
call fcn.00417890
add eax, 0x48
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x415a03
mov eax, dword [eax + 4]
jmp 0x415a06
add eax, 4
mov ecx, dword [esp + 0xcc]
cmp dword [esp + 0xe0], edx
jae 0x415a1d
lea ecx, [esp + 0xcc]
cmp dword [esp + 0xa8], edx
mov edx, dword [esp + 0x94]
jae 0x415a34
lea edx, [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push ebx
lea edx, [esp + 0x7c]
push edx
mov ecx, eax
call fcn.0041aea0
lea esi, [esp + 0x24]
call fcn.00417890
mov eax, dword [eax + 0x44]
cmp eax, 0x300000
jbe 0x415a66
push ebx
call fcn.0041a3d0
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.MxHttpRq.dll_SetPara]
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x64], 8
jae 0x415a84
lea eax, [esp + 0x50]
push eax
push ebx
call dword [sym.imp.MxHttpRq.dll_SetlocalPath]
mov eax, dword [esp + 0x74]
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x80], esi
jae 0x415aa5
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 4]
push 0
push ecx
push 0
push 0
push 0
push 0
push edx
push eax
push ebx
call dword [sym.imp.MxHttpRq.dll_MxHttpRequest]
mov eax, dword [esp + 0x90]
add esp, 0x24
cmp dword [esp + 0x80], esi
jae 0x415ad7
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00409db0
add esp, 8
lea ecx, [esp + 0x68]
call fcn.0040a4c0
lea esi, [esp + 0x4c]
call fcn.0040a630
lea esi, [esp + 0x84]
call fcn.00415b80
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.MxHttpRq.dll_CloseAsynClientHandle]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0042bb57
mov esp, ebp
pop ebp
ret 8