Function at 0x59035b80
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591510a4
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0xdc
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x59035bad
mov dword [eax], 0
mov ebx, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
test ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], esi
je 0x590367fe
test esi, esi
je 0x590367fe
mov eax, dword [0x591638c0]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xf4], 0
push ecx
push esi
push ebx
call fcn.590354e0
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.Unknow
call fcn.590a6ec0
push str.Mail_Upload_name:
push esi
push ebx
mov byte [esp + 0x100], 1
call fcn.5900f7b0
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x590367d9
mov edi, str.Mail_Upload_name:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
add edx, ebp
xor ebp, ebp
add edx, ebx
cmp byte [edx], 0xd
je 0x59035c74
mov ecx, dword [esp + 0x18]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x20], eax
mov edi, str.Mail_Upload_name:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
sub eax, ecx
cmp ebp, eax
jge 0x59035c74
mov al, byte [edx + ebp + 1]
inc ebp
cmp al, 0xd
jne 0x59035c52
mov edi, str.Mail_Upload_name:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
mov eax, esi
not ecx
dec ecx
sub eax, edi
sub eax, ecx
cmp ebp, eax
jge 0x590367d9
push ebp
push edx
lea ecx, [esp + 0x18]
call fcn.590a1d90
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xf4], 2
mov eax, dword [ecx - 8]
test eax, eax
je 0x59035d0f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.590a18b0
lea eax, [esp + 0x24]
mov byte [esp + 0xf8], 2
push eax
call fcn.5900b260
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 4
call fcn.590a2460
lea ecx, [esp + 0x20]
mov byte [esp + 0xf4], 2
call fcn.590a22e0
mov ecx, dword [esp + 0x10]
push 0xfde9
push ecx
lea ecx, [esp + 0x24]
call fcn.590abac0
lea ecx, [esp + 0x10]
mov byte [esp + 0xf4], 1
call fcn.590a22e0
push 0x5918a2d4
push esi
push ebx
call fcn.5900f7b0
mov edx, eax
or ebp, 0xffffffff
add esp, 0xc
cmp edx, ebp
je 0x59035f58
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x59035d52
mov dword [eax], 1
jmp 0x59035f58
mov edi, 0x5918a2d4
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x591638c0]
not ecx
dec ecx
mov dword [esp + 0x44], eax
add edx, ecx
add ebx, edx
sub esi, edx
mov byte [esp + 0xf4], 5
mov dword [esp + 0x50], eax
mov byte [esp + 0xf4], 6
mov dword [esp + 0x48], eax
mov byte [esp + 0xf4], 7
mov dword [esp + 0x40], eax
mov byte [esp + 0xf4], 8
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf4], 9
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xf4], 0xa
call fcn.590acfe0
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf4], 0xb
call fcn.590acfe0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf4], 0xc
call fcn.590b4e60
lea edx, [esp + 0x30]
push 0x59189be8
push edx
mov byte [esp + 0xfc], 0xd
call fcn.590593f0
add esp, 8
mov eax, dword [esp + 0x30]
push 0x180
push 0x8101
push eax
mov byte [esp + 0x100], 0xe
call fcn.5908a6ad
mov edi, eax
add esp, 0xc
cmp edi, ebp
je 0x59035e9c
push esi
push ebx
push edi
call fcn.5908a4bd
push edi
call fcn.5908a3dd
mov ecx, dword [esp + 0xd8]
add esp, 0x10
push esi
push ecx
lea ecx, [esp + 0xcc]
call fcn.590b50a0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
call fcn.590a6d60
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0xfc], 0xf
call fcn.590ad5f0
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0xe0]
call fcn.590ad5f0
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 0xe
call fcn.590a7660
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x59035f75
lea ecx, [esp + 0x30]
mov byte [esp + 0xf4], 0xd
call fcn.590a22e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf4], 0xc
call fcn.590b4e70
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf4], 0xb
call fcn.590acff0
lea ecx, [esp + 0x60]
mov byte [esp + 0xf4], 0xa
call fcn.590acff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf4], 9
call fcn.590a7660
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf4], 8
call fcn.590a7660
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 7
call fcn.590a7660
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 6
call fcn.590a7660
lea ecx, [esp + 0x50]
mov byte [esp + 0xf4], 5
call fcn.590a7660
lea ecx, [esp + 0x44]
mov byte [esp + 0xf4], 1
call fcn.590a7660
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0
call fcn.590a7660
mov dword [esp + 0xf4], ebp
jmp 0x590367f5
mov eax, dword [0x591638c0]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x104]
mov byte [esp + 0xf4], 0x10
cmp esi, 0x13
je 0x59035f9f
cmp esi, 0x43
je 0x59035f9f
cmp esi, 0x293
jne 0x59036002
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5918bf64
call fcn.590a19b0
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
lea ecx, [esp + 0x30]
mov byte [esp + 0xf8], 0x10
push ecx
push ebp
push ebx
call fcn.59024b80
add esp, 0x10
test al, al
jne 0x59035ffb
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.cid
call fcn.590a19b0
lea edx, [esp + 0x30]
mov byte [esp + 0xf8], 0x10
push edx
push ebp
push ebx
call fcn.59024b80
add esp, 0x10
mov eax, dword [0x591638c0]
jmp 0x5903600a
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x108]
test edi, edi
je 0x590366d6
mov ecx, dword [esp + 0x64]
xor ebx, ebx
test ecx, ecx
jle 0x59036718
jmp 0x59036040
mov eax, dword [0x591638c0]
mov esi, dword [esp + 0x104]
mov edi, dword [esp + 0x108]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov byte [esp + 0xf4], 0x13
mov dword [esp + 0x90], eax
mov byte [esp + 0xf4], 0x14
mov dword [esp + 0x94], eax
mov ecx, dword [0x591638bc]
mov byte [esp + 0xf4], 0x15
mov dword [esp + 0x9c], ecx
mov byte [esp + 0xf4], 0x16
mov dword [esp + 0xb4], eax
lea edx, [esp + 0x2c]
mov byte [esp + 0xf4], 0x18
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], esi
call fcn.590a77f0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], edx
push ecx
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x18]
lea eax, [edx + ebx*4]
push eax
call fcn.590a6c60
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0x19
call fcn.590a8810
inc eax
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.590a9950
lea edx, [esp + 0xd4]
mov byte [esp + 0xf4], 0x1a
push edx
call fcn.5900d660
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0xb8]
push eax
mov byte [esp + 0xf8], 0x1b
call fcn.590a6d60
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0x100], 0x1c
call fcn.590a7c00
lea ecx, [esp + 0xb8]
mov byte [esp + 0xf4], 0x1f
call fcn.590a7660
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf4], 0x1e
call fcn.590a22e0
mov eax, dword [esp + 0x60]
push 3
mov eax, dword [eax + ebx*4]
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x94]
push edx
call fcn.590a77f0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.590a8810
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.590a9da0
push 0x5918a4a0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 0x20
call fcn.590a82b0
mov ecx, dword [esp + 0xd8]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0x90]
push edx
call fcn.590a77f0
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x58]
push edx
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xc4]
call fcn.590a1b80
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf8], 0x21
call fcn.590a2460
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf4], 0x20
call fcn.590a22e0
mov eax, dword [esp + 0x9c]
push 0x180
push 0x8101
push eax
call fcn.5908a6ad
mov ecx, dword [0x591638bc]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x34], ecx
cmp esi, 0xffffffff
mov byte [esp + 0xf4], 0x22
je 0x590362c3
mov edx, dword [esp + 0x54]
push ebp
push edx
push esi
call fcn.5908a4bd
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [edi + 0xc]
add esp, 0xc
push eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
lea eax, [esp + 0x4c]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u
push eax
call fcn.590a5140
mov ecx, dword [esp + 0x54]
add esp, 0x20
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x34]
push eax
push 0
call fcn.590a2f70
push eax
push esi
call fcn.5908a4bd
push esi
call fcn.5908a3dd
add esp, 0x10
mov edx, dword [esp + 0x34]
mov ecx, dword [0x591af024]
mov edi, ecx
mov eax, dword [edx - 8]
mov dword [esp + 0x10], edi
add eax, ebp
cmp edi, ecx
mov dword [esp + 0xa0], eax
jl 0x59036560
lea ebp, [edi + 1]
test ebp, ebp
jne 0x59036339
mov esi, dword [0x591af020]
test esi, esi
je 0x59036328
mov eax, ecx
dec ecx
test eax, eax
je 0x5903630f
lea ebp, [ecx + 1]
mov ecx, esi
call fcn.59013560
add esi, 0x48
dec ebp
jne 0x59036302
mov ecx, dword [0x591af020]
push ecx
call fcn.5913e209
add esp, 4
mov dword [0x591af020], 0
xor eax, eax
mov dword [0x591af028], eax
mov dword [0x591af024], eax
jmp 0x59036560
mov eax, dword [0x591af020]
test eax, eax
jne 0x590363af
lea edi, [ebp + ebp*8]
shl edi, 3
push edi
call fcn.5913e1e0
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [0x591af020], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x24], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0xf4], 0x23
je 0x59036389
mov ecx, esi
call fcn.590134e0
add esi, 0x48
mov byte [esp + 0xf4], 0x22
dec ebp
mov dword [esp + 0x24], esi
jne 0x59036372
mov eax, dword [esp + 0x10]
inc eax
mov dword [0x591af028], eax
mov dword [0x591af024], eax
jmp 0x5903655c
mov esi, dword [0x591af028]
cmp ebp, esi
jg 0x5903645a
cmp ecx, ebp
jge 0x5903642b
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea ebp, [eax + ecx*8]
lea ecx, [edx + edx*8]
shl ecx, 3
mov esi, ecx
xor eax, eax
mov edi, ebp
mov dword [esp + 0x24], ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x5903641a
lea esi, [edx + 1]
mov dword [esp + 0x28], ebp
test ebp, ebp
mov byte [esp + 0xf4], 0x24
je 0x59036408
mov ecx, ebp
call fcn.590134e0
add ebp, 0x48
mov byte [esp + 0xf4], 0x22
dec esi
mov dword [esp + 0x24], ebp
jne 0x590363f1
mov edi, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [0x591af024], eax
jmp 0x59036560
jle 0x5903641e
lea edx, [ebp + ebp*8]
sub ecx, ebp
lea esi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x5903641e
lea ebp, [ecx + 1]
mov ecx, esi
call fcn.59013560
add esi, 0x48
dec ebp
jne 0x59036440
lea eax, [edi + 1]
mov dword [0x591af024], eax
jmp 0x59036560
mov eax, dword [0x591af02c]
test eax, eax
jne 0x59036486
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5903647a
mov eax, 4
jmp 0x59036486
cmp eax, 0x400
jle 0x59036486
mov eax, 0x400
add eax, esi
cmp ebp, eax
jl 0x5903648e
mov eax, ebp
lea ecx, [eax + eax*8]
mov dword [esp + 0x24], eax
shl ecx, 3
push ecx
call fcn.5913e1e0
mov ecx, dword [0x591af024]
mov esi, dword [0x591af020]
mov edi, eax
mov dword [esp + 0x2c], eax
lea ecx, [ecx + ecx*8]
add esp, 4
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x591af024]
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea esi, [eax + ecx*8]
lea ecx, [edx + edx*8]
shl ecx, 3
mov ebp, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0xbc], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x5903652f
lea edi, [edx + 1]
mov dword [esp + 0xe8], esi
test esi, esi
mov byte [esp + 0xf4], 0x25
je 0x5903651a
mov ecx, esi
call fcn.590134e0
add esi, 0x48
mov byte [esp + 0xf4], 0x22
dec edi
mov dword [esp + 0xbc], esi
jne 0x59036500
mov ecx, dword [0x591af020]
push ecx
call fcn.5913e209
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esp, 4
inc eax
mov dword [0x591af020], edx
mov dword [0x591af024], eax
mov dword [0x591af028], ecx
mov edi, dword [esp + 0x10]
mov eax, dword [0x591af020]
mov ecx, dword [esp + 0x70]
lea edx, [edi + edi*8]
lea esi, [esp + 0x74]
lea ebp, [eax + edx*8]
lea edx, [esp + 0x8c]
push edx
mov dword [ebp], ecx
lea edi, [ebp + 4]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x1c]
call fcn.590a77f0
lea eax, [esp + 0x90]
lea ecx, [ebp + 0x20]
push eax
call fcn.590a77f0
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebp + 0x24]
call fcn.590a77f0
mov edx, dword [esp + 0x98]
lea eax, [esp + 0x9c]
push eax
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x28], edx
call fcn.590a2460
mov ecx, dword [esp + 0xa0]
lea edx, [ebp + 0x34]
mov dword [ebp + 0x30], ecx
mov eax, dword [esp + 0xa4]
mov dword [edx], eax
mov ecx, dword [esp + 0xa8]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0xb0]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [ebp + 0x44]
call fcn.590a77f0
lea ecx, [esp + 0x34]
mov byte [esp + 0xf4], 0x20
call fcn.590a22e0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], 0x1e
call fcn.590a7660
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x1a
call fcn.590a7660
lea ecx, [esp + 0x20]
mov byte [esp + 0xf4], 0x19
call fcn.590a7660
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 0x18
call fcn.590a7660
lea ecx, [esp + 0xb4]
mov byte [esp + 0xf4], 0x29
call fcn.590a7660
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf4], 0x28
call fcn.590a22e0
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x27
call fcn.590a7660
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 0x26
call fcn.590a7660
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 0x10
call fcn.590a7660
mov eax, dword [esp + 0x64]
inc ebx
cmp ebx, eax
jl 0x59036029
jmp 0x59036718
lea eax, [esp + 0xc4]
lea ecx, [esp + 0xd8]
push eax
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push ebp
push ebx
call fcn.590248c0
add esp, 0x30
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 0xe
call fcn.590a7660
lea ecx, [esp + 0x30]
mov byte [esp + 0xf4], 0xd
call fcn.590a22e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf4], 0xc
call fcn.590b4e70
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf4], 0xb
call fcn.590acff0
lea ecx, [esp + 0x60]
mov byte [esp + 0xf4], 0xa
call fcn.590acff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf4], 9
call fcn.590a7660
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf4], 8
call fcn.590a7660
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 7
call fcn.590a7660
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 6
call fcn.590a7660
lea ecx, [esp + 0x50]
mov byte [esp + 0xf4], 5
call fcn.590a7660
lea ecx, [esp + 0x44]
mov byte [esp + 0xf4], 1
call fcn.590a7660
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0
call fcn.590a7660
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.590a7660
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe8
ret