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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5357da
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x57d54c]
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 - 0x2a8], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x29c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
inc eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x290]
push eax
push 0x5614ac
push 5
push 0
push 0x5614bc
mov dword [ebp - 0x298], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x434537
cmp dword [ebp - 0x290], 0
jne 0x434999
push 0x105
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00504c70
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.0050931c
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.0050931c
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 - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 7
lea eax, [esi + 0x5b4]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00408310
mov edx, eax
or ebx, 1
mov dword [ebp - 0x29c], ebx
cmp dword [edx + 0x14], 0x10
jb 0x434616
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434650
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c0]
call fcn.0040ad60
mov byte [ebp - 4], 8
call fcn.004c63c0
mov esi, eax
test esi, esi
jne 0x43467d
lea edi, [eax + 2]
jmp 0x43472d
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
push 0x2712
push esi
call fcn.004c6420
add esp, 0xc
push 0
push 0x4e2c
push esi
call fcn.004c6420
add esp, 0xc
push 0x44a2e0
push 0x4e2b
push esi
call fcn.004c6420
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push 0x2711
push esi
call fcn.004c6420
add esp, 0xc
push 1
push 0x3a
push esi
call fcn.004c6420
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004c6420
add esp, 0xc
push 5
push 0x44
push esi
call fcn.004c6420
add esp, 0xc
push 1
push 0x63
push esi
call fcn.004c6420
add esp, 0xc
push 0xa
push 0x4e
push esi
call fcn.004c6420
add esp, 0xc
push esi
call fcn.004c6400
add esp, 4
mov edi, eax
push esi
call fcn.004c6380
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2ac]
cmp edx, 0x10
jb 0x43476b
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434761
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434a8b
push edx
push ecx
call fcn.00502404
add esp, 8
and ebx, 0xfffffffe
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
mov dword [ebp - 0x29c], ebx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c4]
cmp edx, 0x10
jb 0x4347cd
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4347c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434a8b
push edx
push ecx
call fcn.00502404
add esp, 8
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
test edi, edi
jne 0x434855
cmp dword [ebp - 0x230], edi
je 0x434855
push 0x561544
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x294], edi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0050d8d7
mov ecx, dword [ebp - 0x294]
add esp, 0xc
test ecx, ecx
je 0x434855
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.00508f4e
push dword [ebp - 0x294]
call fcn.0050831e
add esp, 0x14
lea esi, [edi + 1]
jmp 0x43485b
mov esi, dword [ebp - 0x298]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x434899
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43488f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434a8b
push edx
push ecx
call fcn.00502404
add esp, 8
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CCURLWrapper.virtual_0], vtable.CCURLWrapper.0
test esi, esi
je 0x43497f
xor eax, eax
mov dword [ebp - 0x28c], 0x44
xorps xmm0, xmm0
mov word [ebp - 0x24a], ax
push 0x105
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x224]
push eax
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x280], xmm0
movlpd qword [ebp - 0x278], xmm0
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x25a], xmm0
movlpd qword [ebp - 0x252], xmm0
mov dword [ebp - 0x260], 0x101
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x224]
push str._s__S
push eax
call fcn.00437620
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x3a98
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.004343e0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x2a4]
cmp eax, 5
jg 0x434a68
mov esi, dword [ebp - 0x2a8]
jmp 0x4344f0
push 0xffffffffffffffff
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x55faac
call fcn.00411db0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x55faac
call fcn.00411db0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 0x55faac
call fcn.00411db0
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0x55faac
call fcn.00411db0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push dword [ebp - 0x228]
call fcn.00411db0
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x290]
call fcn.00431640
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 0x434a55
push 0x5614ac
push esi
push eax
call fcn.00503750
mov eax, dword [ebp - 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
jmp 0x434a6d
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.00501e95
mov esp, ebp
pop ebp
ret 4
call fcn.00509bb8
int3