Function at 0x43d2a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x676300]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1cc], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x54
xor ebx, ebx
lea edx, [ebp - 0x1c0]
push ebx
push edx
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], ecx
call fcn.00534b40
lea eax, [esi + 8]
push eax
call fcn.00536c1d
lea ecx, [esi + 0xc8]
push ecx
mov dword [ebp - 0x1c0], eax
call fcn.00536c1d
mov edx, dword [esi + 0x190]
mov dword [ebp - 0x19c], eax
push 0x1f
lea eax, [esi + 0x48]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
mov dword [ebp - 0x170], edx
call fcn.00537970
push 0x1f
lea edx, [esi + 0x108]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.00537970
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x18c]
add esp, 0x2c
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
mov ecx, dword [edi + 0x34]
add ecx, eax
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x16c]
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x1c0]
push edx
mov edx, dword [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 0x1c8]
push ecx
push edx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0043d210
push 0x104
lea ecx, [ebp - 0x118]
push ebx
push ecx
call fcn.00534b40
lea edx, [ebp - 0x118]
push 0x104
push edx
call fcn.00434740
lea eax, [ebp - 0x118]
add esp, 0x14
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43d400
sub eax, edi
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040a3f0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43d440
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x150]
call fcn.0040a3f0
push 9
push str.TmpFiles
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 2
call fcn.0040b110
mov eax, dword [ebp - 0x134]
mov edi, 0x10
cmp dword [ebp - 0x120], edi
jae 0x43d48b
lea eax, [ebp - 0x134]
push eax
call fcn.004ee8ae
add esp, 4
push 1
push 0x65c970
lea ecx, [ebp - 0x134]
call fcn.0040b110
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x134]
call fcn.0040bc80
push 7
push 0x57bb34
lea ecx, [ebp - 0x150]
call fcn.0040b110
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x150]
call fcn.0040bc80
push 5
push str..utf8
lea ecx, [ebp - 0x150]
call fcn.0040b110
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c4], ebx
cmp dword [ebp - 0x120], edi
jae 0x43d512
lea eax, [ebp - 0x134]
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43d5a8
mov esi, 0x10
cmp dword [ebp - 0x13c], esi
jb 0x43d548
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.00535f7c
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
cmp dword [ebp - 0x120], esi
jb 0x43d576
mov edx, dword [ebp - 0x134]
push edx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x158], esi
jb 0x43d6f3
mov eax, dword [ebp - 0x16c]
push eax
call fcn.00535f7c
add esp, 4
jmp 0x43d6f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43d5cd
push ebx
lea ecx, [ebp - 0x1c4]
push ecx
push 0x54
lea edx, [ebp - 0x1c0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x190]
push ebx
lea eax, [ebp - 0x1c4]
push eax
push ecx
add esi, 0x21c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x150]
mov esi, 0x10
cmp dword [ebp - 0x13c], esi
jae 0x43d615
lea ecx, [ebp - 0x150]
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x120], esi
jae 0x43d629
lea eax, [ebp - 0x134]
push ecx
push eax
call fcn.0053a5dd
mov eax, dword [ebp - 0x134]
add esp, 8
cmp dword [ebp - 0x120], esi
jae 0x43d647
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1cc]
push eax
push edx
call fcn.0043cd40
cmp dword [ebp - 0x13c], esi
jb 0x43d671
mov eax, dword [ebp - 0x150]
push eax
call fcn.00535f7c
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
cmp dword [ebp - 0x120], esi
jb 0x43d69f
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x158], esi
jb 0x43d6c8
mov edx, dword [ebp - 0x16c]
push edx
call fcn.00535f7c
add esp, 4
mov al, 1
jmp 0x43d6f5
xor al, al
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.00534bba
mov esp, ebp
pop ebp
ret 0x10