Function at 0x427e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474a96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ebx
mov edi, 0x490578
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], esi
push ecx
push 0x490578
lea ecx, [ebx + 0x164]
mov dword [ebp - 0x14], esi
call fcn.004049b0
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0xbc]
cmp eax, esi
jne 0x427e73
mov eax, 0x478858
push eax
push edi
call fcn.00405180
add esp, 8
mov ecx, edi
push 0xa
call fcn.0040a160
mov ecx, edi
call fcn.0040a2d0
mov al, byte [ebp + 0x1b]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.00401660
mov cl, byte [ebp + 0x1b]
mov esi, dword [0x490580]
mov byte [ebp - 0x4c], cl
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00401660
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [ebp - 0x4c]
push edi
mov dword [ebp - 0x18], edi
call fcn.004016b0
test al, al
je 0x427ef4
mov ecx, edi
mov edi, dword [ebp - 0x48]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x4c]
call fcn.00404a50
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 2
cmp eax, 1
je 0x428032
mov eax, dword [ebx + 0x88]
xor ecx, ecx
mov dword [ebp - 0x27], ecx
lea edx, [ebp - 0x28]
inc eax
push 0xa
mov word [ebp - 0x23], cx
push edx
push eax
mov dword [ebx + 0x88], eax
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x21], cl
call fcn.00436229
mov al, byte [ebp + 0x1b]
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x64]
push esi
mov byte [ebp - 0x64], al
call fcn.00401660
lea edi, [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [ebp - 0x64]
push edi
mov dword [ebp - 0x18], edi
call fcn.004016b0
test al, al
je 0x427f85
mov ecx, edi
mov edi, dword [ebp - 0x60]
mov edx, ecx
lea esi, [ebp - 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x64]
call fcn.00404a50
xor esi, esi
lea ecx, [ebp - 0x4c]
push str.company_list_
lea edx, [ebp - 0xa0]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.0042a390
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x90]
push ecx
push eax
push edx
mov byte [ebp - 4], 4
call fcn.0042a4c0
push str..html
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
call fcn.0042a390
add esp, 0x24
mov ecx, dword [0x47885c]
mov byte [ebp - 4], 6
push ecx
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.00404370
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.00401660
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00401660
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00401660
mov edx, dword [0x47885c]
lea eax, [ebp - 0x64]
push edx
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404370
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00401660
jmp 0x428034
xor esi, esi
mov eax, dword [0x48c6e0]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x428058
mov eax, 0x478858
lea ecx, [ebp - 0x66]
lea edx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x24]
push ecx
push edx
push eax
call fcn.0046d6cd
cmp eax, 1
je 0x42808d
mov ecx, dword [ebx + 0x74]
cmp ecx, esi
je 0x428081
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebp - 0x14], 0xc
jmp 0x428231
mov ecx, dword [ebp - 0x1c]
push 0x20000000
push esi
push esi
push 1
push esi
push ecx
mov ecx, dword [ebx + 0x74]
push 1
mov byte [ebp - 4], 0xa
call fcn.0046e2ac
mov esi, eax
lea edx, [ebx + 0xac]
mov edi, 9
push 0x10000000
push edx
mov ecx, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], edi
call fcn.0046e469
push 0
push 0
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0046e47f
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
mov dword [ebp - 4], edi
call fcn.0046e4b2
cmp dword [ebp - 0x70], 0xc8
jne 0x428209
mov ecx, dword [ebx + 0x84]
mov edi, dword [ebx + 0x80]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x38]
mov edi, 0xa
test eax, eax
mov dword [ebp - 0x20], 0
jne 0x42812b
mov eax, 0x478858
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x42819a
test edi, edi
jbe 0x4281a8
mov ecx, dword [ebx + 0x84]
mov edx, dword [ebx + 0x80]
mov eax, dword [esi]
dec ecx
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push ecx
push edx
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x42814b
push 0
push 0
push str.CreateFile_fail_
call fcn.0046b981
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4281bf
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
xor esi, esi
mov edi, dword [ebp - 0x14]
cmp edi, esi
jle 0x4282c9
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.004686af
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004686af
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004686af
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
je 0x428249
mov al, byte [ecx - 1]
test al, al
je 0x42823f
cmp al, 0xff
je 0x42823f
dec al
mov byte [ecx - 1], al
jmp 0x428249
mov dword [ebp - 0x14], 0x10
jmp 0x42822f
xor esi, esi
mov eax, dword [ebp - 0x20]
cmp eax, 3
jl 0x428048
jmp 0x4281c1
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], esi
cmp ecx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
je 0x428275
mov al, byte [ecx - 1]
test al, al
je 0x42826b
cmp al, 0xff
je 0x42826b
dec al
mov byte [ecx - 1], al
jmp 0x428275
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
cmp ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
je 0x4282b4
mov al, byte [ecx - 1]
test al, al
je 0x4282aa
cmp al, 0xff
je 0x4282aa
dec al
mov byte [ecx - 1], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x4282d5
mov eax, 0x478858
push esi
push eax
call fcn.00432def
add esp, 8
test eax, eax
jne 0x42831b
cmp dword [ebp + 0x18], esi
jne 0x428322
mov al, byte [ebp - 0x3c]
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x18], esp
mov byte [ecx], al
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov edx, dword [0x47885c]
lea eax, [ebp - 0x3c]
push edx
push esi
push eax
call fcn.00404370
mov ecx, ebx
call fcn.004283e0
mov dword [ebp - 0x14], eax
jmp 0x428322
mov dword [ebp - 0x14], 0x11
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.004686af
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004686af
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004686af
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
je 0x428369
mov al, byte [ecx - 1]
test al, al
je 0x42835f
cmp al, 0xff
je 0x42835f
dec al
mov byte [ecx - 1], al
jmp 0x428369
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], esi
cmp ecx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
je 0x428395
mov al, byte [ecx - 1]
test al, al
je 0x42838b
cmp al, 0xff
je 0x42838b
dec al
mov byte [ecx - 1], al
jmp 0x428395
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
cmp ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
je 0x4283c1
mov al, byte [ecx - 1]
test al, al
je 0x4283b7
cmp al, 0xff
je 0x4283b7
dec al
mov byte [ecx - 1], al
jmp 0x4283c1
dec ecx
push ecx
call fcn.00463d26
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14