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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b10a
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x57254c]
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 0x5574a8
push 5
push 0
push 0x5574b8
mov dword [ebp - 0x298], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42e157
cmp dword [ebp - 0x290], 0
jne 0x42e5b9
push 0x105
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004fb730
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.004ff77b
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.004ff77b
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 + 0x59c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.004064d0
mov edx, eax
or ebx, 1
mov dword [ebp - 0x29c], ebx
cmp dword [edx + 0x14], 0x10
jb 0x42e236
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 0x42e270
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c0]
call fcn.00407ce0
mov byte [ebp - 4], 8
call fcn.004bce80
mov esi, eax
test esi, esi
jne 0x42e29d
lea edi, [eax + 2]
jmp 0x42e34d
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
push 0x2712
push esi
call fcn.004bcee0
add esp, 0xc
push 0
push 0x4e2c
push esi
call fcn.004bcee0
add esp, 0xc
push 0x442710
push 0x4e2b
push esi
call fcn.004bcee0
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push 0x2711
push esi
call fcn.004bcee0
add esp, 0xc
push 1
push 0x3a
push esi
call fcn.004bcee0
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004bcee0
add esp, 0xc
push 5
push 0x44
push esi
call fcn.004bcee0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.004bcee0
add esp, 0xc
push 0xa
push 0x4e
push esi
call fcn.004bcee0
add esp, 0xc
push esi
call fcn.004bcec0
add esp, 4
mov edi, eax
push esi
call fcn.004bce40
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2ac]
cmp edx, 0x10
jb 0x42e38b
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e381
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e6ab
push edx
push ecx
call fcn.004f8ec4
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 0x42e3ed
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e3e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e6ab
push edx
push ecx
call fcn.004f8ec4
add esp, 8
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
test edi, edi
jne 0x42e475
cmp dword [ebp - 0x230], edi
je 0x42e475
push 0x557228
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x294], edi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00503d36
mov ecx, dword [ebp - 0x294]
add esp, 0xc
test ecx, ecx
je 0x42e475
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.004ff3ad
push dword [ebp - 0x294]
call fcn.004fedde
add esp, 0x14
lea esi, [edi + 1]
jmp 0x42e47b
mov esi, dword [ebp - 0x298]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x42e4b9
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e4af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e6ab
push edx
push ecx
call fcn.004f8ec4
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 0x42e59f
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.004fb730
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x224]
push str._s__S
push eax
call fcn.00431430
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x3a98
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0042e000
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x2a4]
cmp eax, 5
jg 0x42e688
mov esi, dword [ebp - 0x2a8]
jmp 0x42e110
push 0xffffffffffffffff
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x555a4c
call fcn.0040d1d0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x555a4c
call fcn.0040d1d0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 0x555a4c
call fcn.0040d1d0
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0x555a4c
call fcn.0040d1d0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push dword [ebp - 0x228]
call fcn.0040d1d0
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x290]
call fcn.0042b570
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 0x42e675
push 0x5574a8
push esi
push eax
call fcn.004fa210
mov eax, dword [ebp - 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
jmp 0x42e68d
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.004f8955
mov esp, ebp
pop ebp
ret 4
call fcn.00500017
int3