Function at 0x41d350
Capabilities:
Create directory
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506883
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x298], esi
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.ole32.dll_CoInitialize]
xor edi, edi
lea esp, [esp]
lea eax, [ebp - 0x290]
mov dword [ebp - 0x290], 0
push eax
push 0x52abd8
push 5
xor ebx, ebx
inc edi
push ebx
push 0x52abac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41d3d7
cmp dword [ebp - 0x290], ebx
jne 0x41d6f4
push 0x104
lea eax, [ebp - 0x11b]
mov byte [ebp - 0x11c], bl
push 0
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.gsxz_
lea eax, [ebp - 0x11c]
push 0x105
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.thunder_37897_.exe
lea eax, [ebp - 0x11c]
push 0x105
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - method.CCURLWrapper.virtual_0], vtable.CCURLWrapper.0
mov dword [ebp - 4], 5
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [esi + 0x258]
call fcn.0041a7b0
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x41d4b7
mov edx, dword [edx]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a0], 0xf
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x2b4], 0
cmp byte [edx], 0
jne 0x41d4ef
xor ecx, ecx
jmp 0x41d4fd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d4f4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2b4]
call fcn.00402090
mov byte [ebp - 4], 8
call fcn.004a61e0
test eax, eax
jne 0x41d51c
lea esi, [eax + 2]
jmp 0x41d531
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0042ff10
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2a0], 0x10
jb 0x41d54c
push dword [ebp - 0x2b4]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x2a0], 0xf
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x2b4], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2bc], 0x10
jb 0x41d582
push dword [ebp - 0x2d0]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x2bc], 0xf
mov dword [ebp - 0x2c0], 0
mov byte [ebp - 0x2d0], 0
test esi, esi
jne 0x41d608
cmp dword [ebp - 0x230], esi
je 0x41d608
push 0x52a9fc
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x294], esi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004e1593
mov ecx, dword [ebp - 0x294]
add esp, 0xc
test ecx, ecx
je 0x41d608
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
push ecx
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push 1
push eax
call fcn.004e2dc5
push dword [ebp - 0x294]
call fcn.004e1e26
add esp, 0x14
lea ebx, [esi + 1]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x22c], 0x10
jb 0x41d623
push dword [ebp - 0x240]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CCURLWrapper.virtual_0], vtable.CCURLWrapper.0
test ebx, ebx
je 0x41d6e0
push 0x40
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.004e4b60
add esp, 0xc
mov dword [ebp - 0x28c], 0x44
xor eax, eax
mov dword [ebp - 0x260], 0x101
mov word [ebp - 0x25c], ax
mov byte [ebp - 0x224], al
push 0x104
push eax
lea eax, [ebp - 0x223]
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x224]
push str._s__S
push eax
call fcn.0041f3b0
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x3a98
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0041d290
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jg 0x41d7c3
mov esi, dword [ebp - 0x298]
jmp 0x41d3a0
push 0xffffffffffffffff
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0x52abe8
call fcn.004029e0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x29c], esp
push 0x52abe8
call fcn.004029e0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push 0x52abe8
call fcn.004029e0
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push 0x52abe8
call fcn.004029e0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push dword [ebp - 0x228]
call fcn.004029e0
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x290]
call fcn.0041a920
mov esi, dword [ebp - 0x290]
lea ecx, [ebp - 0x228]
push ecx
push esi
mov dword [ebp - 0x228], 0
mov eax, dword [esi]
call dword [eax + 0x24]
test eax, eax
jns 0x41d7b0
push 0x52abd8
push esi
push eax
call fcn.00503260
mov eax, dword [ebp - 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
jmp 0x41d7c8
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4