Function at 0x435cc0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0x1042
push eax
call esi
push 0x30
lea ecx, [ebp - 0xc8]
mov edi, eax
push 0
push ecx
mov dword [ebp - 0x14], edi
call fcn.00555020
mov eax, dword [ebx + 4]
add esp, 0xc
lea edx, [ebp - 0xcc]
push edx
push 0
push 0x104b
push eax
mov dword [ebp - 0xcc], 5
mov dword [ebp - 0xc8], edi
call esi
cmp dword [ebx + 0x2a8], 0
jne 0x435d52
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov edx, dword [ebx + 0x2cc]
xor esi, esi
test edx, edx
je 0x435e00
mov edi, dword [ebp - 0xac]
xor ecx, ecx
cmp esi, edx
jae 0x435da5
mov eax, dword [ebx + 0x2c8]
cmp dword [eax + ecx + 8], edi
je 0x435da1
inc esi
add ecx, 0xc
cmp esi, edx
jb 0x435d8b
jmp 0x435e00
cmp esi, edx
jb 0x435daf
push 0x80070057
call fcn.00401150
mov edi, dword [ebx + 0x2c8]
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
add edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x435dd4
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, edi
call fcn.00403bd0
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x18]
call fcn.00412df0
cmp esi, dword [ebx + 0x2cc]
jb 0x435df1
push 0x80070057
call fcn.00401150
mov eax, dword [ebx + 0x2c8]
add eax, dword [ebp - 0x2c]
mov dl, byte [eax + 4]
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x18]
push 0x59d4a4
push eax
call fcn.0055784e
add esp, 8
test eax, eax
setne al
test al, al
je 0x4364bc
push 0x58
lea ecx, [ebp - 0x88]
push 0
push ecx
call fcn.00555020
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x88], 0x58
mov dword [ebp - 0x84], 0
call fcn.0050a4d0
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x5f5774
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x435e8b
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00403ca0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
push 0x104
push esi
push str.LogsDir
push eax
call fcn.0050a330
add esp, 0x10
test eax, eax
jne 0x435f4f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x435ece
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00403ca0
mov esi, dword [ebp - 0x20]
push esi
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x435f03
push str.SHGetFolderPathW__0__0x001a__0__SHGFP_TYPE_DEFAULT__strSysDir.GetBuffer__260__
push eax
lea ecx, [ebp - 0x98]
call fcn.00434a80
push 0x5cc0a0
lea ecx, [ebp - 0x98]
push ecx
call fcn.00554cbc
test esi, esi
jne 0x435f0b
xor eax, eax
jmp 0x435f25
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435f10
sub eax, edx
sar eax, 1
js 0x435da5
cmp eax, dword [esi - 8]
jg 0x435da5
mov dword [esi - 0xc], eax
xor edx, edx
push 0x59e03c
mov word [esi + eax*2], dx
lea eax, [ebp - 0x20]
push str._sData_
push eax
call fcn.0040a750
add esp, 0xc
jmp 0x435f96
test esi, esi
jne 0x435f57
xor eax, eax
jmp 0x435f75
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435f60
sub eax, edx
sar eax, 1
js 0x435da5
cmp eax, dword [esi - 8]
jg 0x435da5
xor ecx, ecx
mov dword [esi - 0xc], eax
push 6
mov word [esi + eax*2], cx
push 0x59e4c8
lea ecx, [ebp - 0x20]
call fcn.00406040
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x2c], eax
call fcn.004021d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406040
push 1
push 0x59e4c4
lea ecx, [ebp - 0x1c]
call fcn.00406040
push 9
push 0x59e088
lea ecx, [ebp - 0x1c]
call fcn.00406040
push 0xf
push 0x59e4a4
lea ecx, [ebp - 0x1c]
call fcn.00406040
mov esi, dword [ebp - 0x18]
push 0x5c
push esi
call fcn.00557738
add esp, 8
test eax, eax
jne 0x436016
or eax, 0xffffffff
jmp 0x436018
sub eax, esi
mov ecx, dword [esi - 0xc]
sub ecx, eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00432070
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43605a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004343a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x306]
push eax
mov word [ebp - 0x308], dx
call fcn.00555020
mov ecx, dword [ebx + 0x2bc]
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x308]
push ecx
mov dword [ebp - 0xec], edx
mov edx, dword [ebx + 4]
push 0x1073
push edx
mov dword [ebp - 0xe8], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x308]
test eax, 0xffff0000
jne 0x436106
mov ecx, eax
movzx ebx, cx
push 0
push ebx
call fcn.004013d0
add esp, 8
test eax, eax
je 0x436132
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
jmp 0x43612f
lea eax, [ebp - 0x308]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436110
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x308]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405e50
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xa
mov eax, 0x59e5a8
test eax, 0xffff0000
jne 0x43617b
mov ecx, eax
movzx ebx, cx
push 0
push ebx
call fcn.004013d0
add esp, 8
test eax, eax
je 0x43618d
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405fa0
jmp 0x43618a
push 3
push 0x59e5a8
lea ecx, [ebp - 0x14]
call fcn.00405e50
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
push 0x5c
push esi
call fcn.00557400
add esp, 8
test eax, eax
je 0x4361af
sub eax, esi
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x436318
lea edx, [ebp - 0x10]
push 0x59d4a4
push edx
call fcn.00426700
add esp, 8
test al, al
je 0x436289
mov byte [ebp - 4], 9
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4361e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436208
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43622b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43624b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436271
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [ebp - 0x21]
mov ebx, 1
cmp al, bl
jne 0x4362d5
cmp dword [esi - 4], ebx
jle 0x4362a9
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
push esi
lea edx, [ebp - 0x510]
push 0x104
push edx
call fcn.00554e48
add esp, 0xc
push 4
push str..bmp
lea ecx, [ebp - 0x14]
call fcn.00405e50
mov edi, dword [ebp - 0x14]
jmp 0x43638d
cmp al, 2
jne 0x43638d
cmp dword [esi - 4], ebx
jle 0x4362f1
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x510]
push 0x104
push ecx
call fcn.00554e48
add esp, 0xc
push str..emf
lea ecx, [ebp - 0x14]
call fcn.0040b5a0
mov edi, dword [ebp - 0x14]
jmp 0x43638d
mov eax, dword [esi - 0xc]
sub eax, ecx
mov ebx, 1
sub eax, ebx
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x10]
call fcn.004326e0
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x10]
call fcn.00407d40
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], ebx
jle 0x436378
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
push esi
lea edx, [ebp - 0x510]
push 0x104
push edx
call fcn.00554e48
add esp, 0xc
lea eax, [ebp - 0x510]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0x104
cmp dword [edi - 4], ebx
jle 0x4363b1
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403bd0
mov edi, dword [ebp - 0x14]
xor eax, eax
lea edx, [ebp - 0x88]
push edx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0x800
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, ebx
mov ebx, dword [ebp - 0x1c]
jne 0x43643c
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bfb0
mov byte [ebp - 4], 0x13
push 0x59e5a0
push edi
call fcn.005571bb
add esp, 8
test eax, eax
je 0x43640c
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00406040
mov ecx, dword [ebp - 0x28]
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43643c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43645c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43647c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 3
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43649c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4364bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4364e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10