Function at 0x40a750
Capabilities:
Write file on windows

Disassembly:
inc eax
lodsd eax, dword [esi]
mov eax, dword [0xfce80808]
pushal
clc
dec ebx
jne 0x40a88d
test dword [eax], edi
add dword [eax], eax
invalid
test dword [eax], edi
add dword [eax], eax
add byte [eax + 0x41a70c], ah
mov al, byte [0x41a70c]
mov esi, 0x41510c
test al, bh
cmp byte [ebx], 0xd4
cmp eax, 0x5dc168
mov eax, dword [0x40a974]
cmp dword [eax], 1
jle 0x40a781
xor ecx, ecx
push 4
mov cl, byte [esi]
push ecx
sbb dl, bh
add esp, 8
jmp 0x40a792
push eax
js 0x40a745
test dword [eax], eax
invalid
test eax, eax
dec esp
mov byte [edx - 0x7bb9fe54], cl
sal byte [ebp - 0x35], 0x8b
or eax, 0x41cce0
mov eax, dword [0x4107fc]
cmp eax, 3
jb 0x76413911
je 0x40a911
cmp eax, 4
jne 0x40a822
cmp ecx, 2
jae 0x40a7e5
mov eax, 0xb19f0028
jmp 0x2688a92b
ja 0x40a7f1
mov eax, 0xd8
jmp 0x40b230
cmp ecx, 3
xchg ebx, eax
or ah, al
sub eax, dword [eax]
add byte [ecx + ebp*8], bl
push ss
add dword [eax], eax
ja 0x40a830
stc
mov cl, 0x77
or ch, byte [edx + 0x632c]
jmp 0xf40b816
cmp eax, 0xffffffc6
jne 0x40a87c
stc
add byte [eax], cl
inc ecx
add byte [ebp - 0x7a238a40], al
leave
test ecx, ecx
jne 0x40a83e
mov eax, 0x790072e5
dec ebp
fdiv st(2)
jo 0x40a83e
xor eax, eax
cmp ecx, 0x6a
setne al
add eax, 0x33
or al, cl
add byte [ecx + 0x2c48300], bl
jne 0x40a85d
mov eax, 0x46
mov bh, byte [ecx - 0x7d000000]
push es
add dword [ebx + 0xa], esi
add dword [esi], 1
jae 0x40a86c
lcall 0xe8e9, 0xd7
add byte [esi], bl
add byte [ebx], dh
rcr cl, 0xf9
xor eax, eax
fyl2xp1
add dword [0xc083c095], edx
cmp eax, 0x9ae9
add byte [0xd8f706e8], cl
or eax, 0xd8f706e8
sbb eax, eax
and al, 0xec
adc dword [eax + 0x89e950], 0
add byte [ebx + 0x7f7556f8], al
cmp eax, 0x56
jne 0x40a911
mov al, byte [0x51d5080c]
mov esi, 0x410872
test byte [edi + 0x74], bl
xor dword [ebx + 0x40c14b3d], ecx
add byte [ecx + 0x40bd2f], ah
push edi
cmp byte [ecx], al
jle 0x40a8be
xor ecx, ecx
push 1
mov cl, byte [esi]
push ecx
call edi
add dword [edx - 0x5eee14f8], 0xffffffea
shr esp, 0x17
mov eax, dword [0x17ecc1ea]
xor edx, edx
mov dl, byte [esi]
or byte [eax], 0x8a
add al, 0x51
sal esi, 1
add dword [ebp - 0x75f78a53], eax
inc esi
add dword [esi - 0x7c], eax
sal byte [ebp - 0x35], 0xa1
aam 8
inc ecx
add byte [ebx + 0x10730af8], al
mov cl, byte [esi]
xor eax, eax
ja 0x40a8e4
adc byte [edx + 0x77c0330e], cl
stc
inc ebx
adc ebx, dword [ebp - 0xbb722c]
or dl, byte [ebp + 0x5af88321]
jae 0x40a90a
jge 0x40a90a
rol byte gs:[eax - 0x62f0be07], 0xc0
bound eax, qword [eax + eax + 0xe]
jmp 0x40a916
mov eax, 0x12
jmp 0x40a8d4
in eax, 0xdd
insd dword es:[edi], dx
add byte [eax], al
pop esp
fmul qword [eax]
inc ecx
ret 0x558b
add byte [ebx], cl
add byte [ebp + 0x1a], dh
cmp edi, 0x495a02
cli
adc bl, dl
dec ebp
adc al, 0x76
push ebp
adc byte [ebx + 0x55], bl
mov eax, 0x1f077
sbb byte [ecx], dl
pop esi
mov edx, 0x62183d99
or al, byte [eax]
out 0x12, al
mov ecx, dword [ebp + 0x14]
push ebp
adc byte [ebx + 0x5f], bl
jb 0x40b2de
inc ebp
add dword [eax], eax
mov dword [ecx], edx
pop esi
pop ebp
ret
test byte [esi - 0x74ffff51], bh
dec esi
dec eax
xor eax, eax
push ebx
cmp ecx, 0x3c
lodsd eax, dword [esi]
fisub dword [0xb84589fc]
jne 0x40b395
mov edi, dword [esi + 0x3c]
jle 0x40b338
cmp edi, eax
je 0x40b395
in eax, dx
inc edi
cmp byte [ebx + 0x68], dl
push dword [esi + 5]
or eax, 0xffffffff
jmp 0x40b313
mov edx, dword [esi + 4]
lea ecx, [ebp - 4]
push 0
pushal
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b2fa
mov ebp, esi
cld
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add edx, eax
inc edi
rol dword [eax], 1
adc ch, 3
aad 3
invalid
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4