Function at 0x432a10
Capabilities:
Enumerate files on windows
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619891
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x680], ebx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x664], 0
push eax
push 0
push 0
push 0x28
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x432b77
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x433503
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x432ab6
movzx eax, ax
lea ecx, [ebp - 0x670]
push eax
call fcn.00402c80
jmp 0x432ae2
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432ac0
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x670]
call fcn.00402df0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x670]
mov esi, dword [ebx]
sub esi, 0x10
lea edi, [eax - 0x10]
cmp edi, esi
je 0x432b4e
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x432b3d
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x432b3d
push edi
call fcn.004027b0
add esp, 4
mov dword [ebp - 0x66c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x432b30
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x66c]
mov ebx, dword [ebp - 0x680]
add eax, 0x10
mov dword [ebx], eax
jmp 0x432b4e
push dword [eax - 0xc]
mov ebx, dword [ebp - 0x680]
mov ecx, ebx
push eax
call fcn.00402df0
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x432b69
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0xa
push str.Downloads
mov ecx, ebx
call fcn.00414b40
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x432b89
push dword [eax - 0xc]
mov ecx, ebx
call fcn.004030b0
lea eax, [ebp - 0x254]
push eax
push dword [ebx]
call fcn.005f1d5d
add esp, 8
test eax, eax
jne 0x433470
test dword [ebp - 0x24e], 0x4000
je 0x433470
mov byte [ebp - 4], 3
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x432bca
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x432be0
call fcn.0044a657
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43350d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov edi, 1
mov dword [ebp - 0x678], eax
mov eax, dword [ebx]
push 2
push 0x672208
mov dword [ebp - 0x664], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.00404650
mov eax, dword [ebp - 0x678]
add esp, 0x14
cmp dword [eax - 4], edi
jle 0x432c34
push dword [eax - 0xc]
lea ecx, [ebp - 0x678]
call fcn.004030b0
mov eax, dword [ebp - 0x678]
lea ecx, [ebp - 0x65c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
je 0x43344e
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x432c68
push ecx
call fcn.00447f00
add esp, 4
mov dword [ebx + 8], 0
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - method.CList_class_IControlSiteFactory___class_IControlSiteFactory__.virtual_0], vtable.CArray_struct_DOWNLOADFILEINFO__struct_DOWNLOADFILEINFO_const__.0
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x684], 0
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x68c], eax
nop dword [eax]
mov byte [ebp - 4], 5
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x433517
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x432cf3
movzx eax, ax
lea ecx, [ebp - 0x660]
push eax
call fcn.00402c80
jmp 0x432d22
lea ecx, [ebp - 0x630]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432d00
sub ecx, edx
lea eax, [ebp - 0x630]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x660]
call fcn.00402df0
mov edx, 0x670228
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x660]
call fcn.00433570
test al, al
jne 0x4330ca
mov edx, 0x672500
lea ecx, [ebp - 0x660]
call fcn.00433570
test al, al
jne 0x4330ca
mov esi, dword [ebp - 0x660]
push 0x2e
push esi
call fcn.005e7e2d
add esp, 8
test eax, eax
je 0x4330d0
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4330d0
mov byte [ebp - 4], 8
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x432d94
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x432daa
call fcn.0044a657
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x433521
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
or edi, 2
mov dword [ebp - 0x674], eax
mov eax, dword [ebx]
push 1
push 0x66ecf8
mov dword [ebp - 0x664], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x674]
push eax
call fcn.00404650
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004042f0
add esp, 0xc
and edi, 0xfffffffd
mov dword [ebp - 0x664], edi
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov edx, dword [ebp - 0x674]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432e25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2e
push esi
call fcn.005e7e2d
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x432e3b
or ecx, 0xffffffff
jmp 0x432e3f
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x660]
call fcn.00404cc0
or edi, 8
mov dword [ebp - 0x664], edi
mov byte [ebp - 4], 0xb
cmp dword [esi - 4], 1
mov edi, dword [ebp - 0x63c]
jle 0x432e85
push dword [esi - 0xc]
lea ecx, [ebp - 0x660]
call fcn.004030b0
mov esi, dword [ebp - 0x660]
push 0x32
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.005fc71c
mov eax, dword [ebp - 0x670]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x432eb7
push dword [eax - 0xc]
lea ecx, [ebp - 0x670]
call fcn.004030b0
mov eax, dword [ebp - 0x670]
push 0x96
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.005fc71c
mov esi, dword [ebp - 0x67c]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x432eec
push dword [esi - 0xc]
lea ecx, [ebp - 0x67c]
call fcn.004030b0
mov esi, dword [ebp - 0x67c]
push 0xa
lea eax, [ebp - 0x3a8]
push esi
push eax
call fcn.005fc71c
add esp, 0xc
mov dword [ebp - 0x394], edi
lea eax, [ebp - 0x6ac]
push eax
call fcn.005ef5a2
mov ecx, dword [ebp - 0x6a8]
add esp, 4
test ecx, ecx
jl 0x432f29
mov eax, dword [ebp - 0x6ac]
jg 0x432f40
test eax, eax
jne 0x432f40
xorps xmm0, xmm0
movlpd qword [ebp - 0x69c], xmm0
mov ecx, dword [ebp - 0x698]
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x388], ecx
push eax
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebx + 0x18]
call fcn.00433b50
test eax, eax
jne 0x433027
cmp dword [ebp + 8], eax
jne 0x433027
mov ecx, str..crdownload
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432fa7
test dx, dx
je 0x432fa3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432fa7
add eax, 4
add ecx, 4
test dx, dx
jne 0x432f81
xor eax, eax
jmp 0x432fac
sbb eax, eax
or eax, 1
test eax, eax
je 0x433027
mov eax, str..fdmdownload
mov cx, word [esi]
cmp cx, word [eax]
jne 0x432fdb
test cx, cx
je 0x432fd7
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x432fdb
add esi, 4
add eax, 4
test cx, cx
jne 0x432fb5
xor eax, eax
jmp 0x432fe0
sbb eax, eax
or eax, 1
test eax, eax
je 0x433027
mov esi, dword [ebp - 0x668]
test esi, esi
js 0x43352b
push ecx
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x694]
call fcn.00433790
mov eax, dword [ebp - 0x68c]
mov ecx, 0x6e
imul edi, esi, 0x1b8
lea esi, [ebp - 0x40c]
mov dword [ebp - 0x668], eax
add edi, dword [ebp - 0x690]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0xc]
test edi, edi
js 0x433530
push ecx
lea eax, [edi + 1]
push eax
lea ecx, [ebx + 4]
call fcn.00433790
imul edi, edi, 0x1b8
lea esi, [ebp - 0x40c]
mov ecx, 0x6e
add edi, dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0xa
or esi, 0xffffffff
mov edx, dword [ebp - 0x67c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433079
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x670]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43309a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x660]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4330bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x664]
jmp 0x4330ef
mov esi, dword [ebp - 0x660]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4330ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
lea eax, [ebp - 0x65c]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x432cb0
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x668]
test eax, eax
jle 0x4333a1
lea ecx, [ebp - 0x69c]
imul ebx, eax, 0x1b8
call fcn.00404500
push str._Y__m__d
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x69c]
call fcn.00404520
or edi, 0x10
mov dword [ebp - 0x664], edi
mov byte [ebp - 4], 0xe
mov eax, dword [0x6aa3cc]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x433170
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x433186
call fcn.0044a657
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x433535
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
or edi, 0x20
mov dword [ebp - 0x668], eax
mov eax, dword [0x6aa3cc]
push 1
push 0x66ecf8
mov dword [ebp - 0x664], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.00404650
add esp, 0x14
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x660]
push eax
call fcn.004046d0
add esp, 0xc
and edi, 0xffffffdf
mov dword [ebp - 0x664], edi
mov byte [ebp - 4], 0x10
mov eax, esi
mov edx, dword [ebp - 0x668]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433203
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, esi
mov edx, dword [ebp - 0x66c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433224
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x660]
cmp dword [ecx - 4], 1
jle 0x433244
push dword [ecx - 0xc]
lea ecx, [ebp - 0x660]
call fcn.004030b0
mov ecx, dword [ebp - 0x660]
call fcn.004043c0
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x43353f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov eax, str.data3.cab
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x668]
test eax, 0xffff0000
jne 0x433287
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x433293
push 9
push str.data3.cab
call fcn.00402df0
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x668]
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
test ecx, ecx
je 0x4332b2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4332c8
call fcn.0044a657
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x433549
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esi - 0xc]
or dword [ebp - 0x664], 0x40
add eax, 0x10
push esi
push 1
mov dword [ebp - 0x674], eax
lea eax, [ebp - 0x674]
push 0x66ecf8
push eax
call fcn.00404650
mov esi, dword [ebp - 0x674]
lea ecx, [ebp - 0x660]
add esp, 0x14
push dword [esi - 0xc]
push esi
call fcn.00414b40
and dword [ebp - 0x664], 0xffffffbf
add esi, 0xfffffff0
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43332f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x433348
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x66ecf0
push dword [ebp - 0x660]
call fcn.005f219b
mov esi, eax
add esp, 8
test esi, esi
je 0x433379
push esi
push ebx
push 1
push dword [ebp - 0x690]
call fcn.005f2082
push esi
call fcn.005f1ddf
add esp, 0x14
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x660]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43339b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x680]
mov esi, dword [ebp - 0x690]
test esi, esi
je 0x4333bc
push esi
call fcn.00447f00
add esp, 4
xor esi, esi
mov dword [ebp - 0x690], esi
lea ecx, [ebx + 0x18]
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x68c], 0
call fcn.00433f70
xor esi, esi
nop word [eax + eax]
cmp esi, dword [ebx + 0xc]
jge 0x43343b
test esi, esi
js 0x43352b
imul eax, esi, 0x1b8
lea ecx, [ebp - 0x66c]
add eax, dword [ebx + 8]
push eax
call fcn.004028f0
mov byte [ebp - 4], 0x15
lea ecx, [ebx + 0x18]
push dword [eax]
call fcn.00433bf0
mov byte [ebp - 4], 4
mov dword [eax], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x66c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433438
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
jmp 0x4333e0
mov eax, dword [ebp - 0x690]
test eax, eax
je 0x43344e
push eax
call fcn.00447f00
add esp, 4
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x678]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433470
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x43347a
xor ecx, ecx
jmp 0x433490
push dword [eax - 8]
push eax
call fcn.005f3644
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x43355c
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x43355c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
call fcn.0044a186
call fcn.0044a186
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0
push 0
call fcn.005e8d9a
push 0x80070057
call fcn.00403270
int3