Function at 0x459560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497ac
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x338], eax
mov eax, dword [0x675ab4]
test eax, eax
jne 0x4595db
push 0xc
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x340], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4595cd
mov ecx, eax
call fcn.0043a790
jmp 0x4595cf
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x675ab4], eax
push 0x103
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
call fcn.0043a7c0
mov dword [ebp - 4], 1
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov ecx, 0x3b
mov byte [ebp - 4], 2
mov esi, str.rDxrqbovgLIgKAeYAZ324Ke7BQYyHrg74RAPZzwQSczrTREBAn9MCoZPmcl3ZcMitnvznU7NeF2u3vbrwVkWQhZ192BWzA84WoNYhL0aShKGmFPjxKMh0XSwr5upAirffn7MDh3d54Z0aRQifGFRWg2X4ky6UoREnsCRGrM6n3hxajLVBBddmeTwJsS5EnUguC2bQFKDCGiVwcnUW6tOfNCS9k184gMzubdvbURtEJM
mov dword [ebp - 0x24c], 0xf
lea edi, [ebp - 0xfc]
mov dword [ebp - 0x250], 0
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xfc], 0
mov byte [ebp - 0x260], 0
jne 0x459651
xor ecx, ecx
jmp 0x459669
lea ecx, [ebp - 0xfc]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459660
sub ecx, edx
push ecx
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x260]
call fcn.00407d30
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34c]
call fcn.00407f90
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x4596b4
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00407e30
cmp dword [ebp - 0x264], 0x10
lea esi, [ebp - 0x278]
cmovae esi, dword [ebp - 0x278]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4596d0
sub esi, ecx
mov dword [ebp - 0x340], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004ce7c9
add esp, 0xc
mov eax, dword [0x675ab4]
mov byte [ebp - 4], 4
test eax, eax
jne 0x459730
push 0xc
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x459725
mov ecx, eax
call fcn.0043a790
jmp 0x459727
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x675ab4], eax
push 0x102
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.0043a7c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.004093c0
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x459779
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00407e30
call fcn.00402160
lea ecx, [ebp - 0x32c]
call fcn.004e7d36
cmp dword [ebp - 0x27c], 0x10
lea eax, [ebp - 0x290]
push dword [ebp - 0x280]
cmovae eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x32c]
push eax
call fcn.004e8702
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x32c]
call fcn.004e7f50
mov byte [ebp - 4], 7
xor edi, edi
call fcn.00402160
xor ebx, ebx
mov dword [ebp - 0x334], edi
cmp dword [ebp + 0x10], ebx
jle 0x459859
nop dword [eax]
push 0
lea ecx, [ebp - 0x278]
call fcn.00457450
mov ecx, dword [ebp - 0x338]
mov cl, byte [ecx + ebx]
cmp cl, byte [eax]
jne 0x459853
cmp dword [ebp - 0x334], 0
jne 0x459859
xor edi, edi
mov dword [ebp - 0x330], ebx
xor edx, edx
test esi, esi
jle 0x45984d
cmp dword [ebp - 0x264], 0x10
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x338]
cmovae ecx, dword [ebp - 0x278]
add eax, ebx
mov esi, dword [ebp - 0x340]
mov al, byte [eax + edx]
cmp al, byte [edx + ecx]
jne 0x4598ee
inc edi
cmp edi, esi
je 0x4598df
inc edx
cmp edx, esi
jl 0x459811
mov edi, dword [ebp - 0x330]
inc ebx
cmp ebx, dword [ebp + 0x10]
jl 0x4597e0
call fcn.00402160
cmp dword [ebp - 0x264], 0x10
lea ecx, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x278]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459875
mov ebx, dword [ebp - 0x334]
sub ecx, edx
add edi, ecx
mov dword [ebp - 0x330], edi
test ebx, ebx
je 0x459905
mov edi, dword [ebp - 0x2ac]
lea edx, [ebp - 0x2c0]
mov ebx, dword [ebp - 0x2c0]
cmp edi, 0x10
cmovae edx, ebx
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4598b0
mov esi, dword [ebp - 0x338]
sub edx, ecx
xor ecx, ecx
add esi, dword [ebp - 0x330]
cmp ecx, edx
jge 0x4598f5
cmp edi, 0x10
lea eax, [ebp - 0x2c0]
cmovae eax, ebx
mov al, byte [ecx + eax]
mov byte [esi + ecx], al
jmp 0x4598f9
mov dword [ebp - 0x334], 1
jmp 0x45984d
xor edi, edi
jmp 0x459853
mov byte [esi + ecx], 0
inc ecx
cmp ecx, 0x20
jl 0x4598c7
mov ebx, dword [ebp - 0x334]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov ecx, 0x52
mov byte [ebp - 4], 8
mov esi, str.x5vRBAZ90q8LQhajlLZrJLDMzyjT53uDxKGxknB4huHFkBTyvO61NToLKGedQ9DMIkw9RMLNCquRaWA0qSaQDjoH98IWwwban0PAbbyZvo8Xg9HXzgb5PjNVZv7uOOTSOVcUjrP3ilxWEtyAfeCozV2uaUipsKsyb2Op0m8cj60ay9g6yfV4V0ouLGYPlBaKas1hxzfpxTmvdjIww2eOyCAeCWXL2cD1RijwHqL4WhYx8ccYzIPZocii1FtJjkgkJ8WbGKUAopr8ER65K092S1snllnTaxy2s2NeZ8xOiUBe9m4qgSq7FNMnzxlzuuQNUYnVdqLNKY
mov dword [ebp - 0x294], 0xf
lea edi, [ebp - 0x248]
mov dword [ebp - 0x298], 0
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x2a8], 0
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x248], 0
jne 0x459964
xor ecx, ecx
jmp 0x459979
lea ecx, [ebp - 0x248]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459970
sub ecx, edx
push ecx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00407d30
push 1
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.00407b00
mov esi, dword [ebp - 0x250]
test esi, esi
je 0x4599e0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x4599cd
mov eax, dword [esi]
jmp 0x4599cf
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0x2a8]
push eax
call fcn.00407840
mov eax, dword [ebp - 0x294]
add esi, 0x18
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x459a0b
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00407e30
test ebx, ebx
je 0x459a72
call fcn.0047baf6
mov esi, dword [ebp - 0x33c]
push esi
call fcn.004dbc8b
add esp, 4
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x459a72
call fcn.00402160
push 0
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 0
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x338]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x254]
call fcn.00405970
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x459a9b
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00407e30
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
cmp eax, 0x10
jb 0x459ad4
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00407e30
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
call fcn.00405970
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x459b18
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00407e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 0xc