Function at 0x41aa70
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dx, word [0x49b5d8]
mov ax, dx
or eax, 0x6520
mov dx, ax
mov word [0x49b5d8], dx
mov eax, dword [0x48c05c]
dec eax
mov dword [0x48c05c], eax
mov ecx, dword [0x48fbd4]
and eax, ecx
and eax, 0x7b2eab32
mov dword [0x48fbd4], eax
cmp dword [0x49dd4c], 0
jne 0x41aaf4
mov ax, word [0x49c202]
mov cx, ax
xor ecx, 0x79f7
mov ax, cx
mov word [0x49c202], ax
call fcn.00437ac0
mov dword [0x49dd4c], eax
mov dword [0x48f570], 0xaf994693
mov eax, dword [0x490cb0]
xor eax, 0xe67e8612
mov dword [0x490cb0], eax
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x1eca
call fcn.00440380
mov dword [esp + 0x24], eax
mov cx, word [0x49b620]
mov ax, cx
and eax, 0x26c8
mov cx, ax
mov word [0x49b620], cx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, esp
mov dword [esi + 4], eax
mov dword [esi], edx
call fcn.00456457
mov dword [esp + 0x1c], eax
mov eax, dword [0x4951fc]
imul eax, eax, 0xdebefc83
mov dword [0x4951fc], eax
mov eax, dword [esp + 0x24]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], 3
call fcn.00436780
mov cx, word [0x497c4a]
mov ax, cx
add eax, 0x19e2c1b
mov edx, dword [0x4916a0]
mov esi, edx
dec esi
mov dword [0x4916a0], esi
or eax, edx
mov cx, word [0x49a930]
mov dx, cx
imul edx, eax
mov cx, dx
mov word [0x49a930], cx
cmp dword [esp + 0x1c], 0
jne 0x41ace8
mov eax, 0xa1546324
mov ecx, dword [0x4947c0]
dec ecx
mov dword [0x4947c0], ecx
cmp eax, ecx
jne 0x41abf6
mov eax, dword [0x48ed70]
shl eax, 3
mov ecx, dword [0x48b084]
inc ecx
mov dword [0x48b084], ecx
sub eax, ecx
mov ecx, dword [0x48f414]
xor ecx, eax
mov dword [0x48f414], ecx
jmp 0x41ac0e
mov eax, dword [0x4913dc]
xor eax, 0xa1245fdd
mov ecx, dword [0x490214]
sub ecx, eax
mov dword [0x490214], ecx
mov eax, 0x16134d8
mov ecx, dword [0x48aa24]
mov edx, esp
mov dword [edx], 0x43a
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov si, word [0x49746a]
mov ax, si
and eax, 0x2aa0
mov si, ax
mov word [0x49746a], si
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x1eca
call fcn.00440380
mov dword [esp + 0x20], eax
mov eax, dword [0x48fd58]
mov ecx, dword [0x48b974]
dec ecx
mov dword [0x48b974], ecx
and eax, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jge 0x41ac8a
mov eax, dword [0x48d1d4]
xor eax, 0x4641c939
mov dword [0x48d1d4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00456457
mov dword [esp + 0x1c], eax
mov eax, dword [0x496d74]
add eax, 0x40f704d7
or eax, 0xd711
mov si, ax
mov word [0x4995b0], si
mov eax, dword [esp + 0x20]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00436780
mov si, word [0x49cd72]
mov ax, si
xor eax, 0x5175
mov si, ax
mov word [0x49cd72], si
mov ax, word [0x49ad8c]
movsx ecx, ax
not ecx
imul ecx, ecx, 0x113f9dd2
mov edx, 0xa723b986
sub edx, ecx
mov ecx, dword [0x48fcf0]
sub ecx, edx
mov dword [0x48fcf0], ecx
cmp dword [esp + 0x1c], 0
je 0x41ae18
mov ax, word [0x497a0a]
mov cx, ax
xor ecx, 0x58cf
mov ax, cx
mov word [0x497a0a], ax
mov ecx, dword [esp + 0x1c]
mov edx, esp
mov dword [edx + 0xc], ecx
mov dword [edx + 8], 1
mov dword [edx + 4], 4
mov dword [edx], 0x49dd4c
call fcn.0045660a
mov word [0x49b698], 0xb6ef
mov ecx, dword [esp + 0x1c]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x14], eax
call fcn.004566f8
mov ecx, dword [0x48d0c4]
inc ecx
mov dword [0x48d0c4], ecx
mov si, word [0x4974ba]
movsx edx, si
xor ecx, edx
mov edx, dword [0x491820]
mov edi, edx
inc edi
mov dword [0x491820], edi
cmp ecx, edx
mov dword [esp + 0x10], eax
jle 0x41adc3
mov ax, word [0x49a724]
movsx ecx, ax
xor ecx, 0xc420b617
mov edx, dword [0x4938b8]
sub edx, ecx
mov dword [0x4938b8], edx
jmp 0x41ae13
mov eax, 0x1f1042a3
mov cx, word [0x4994f0]
mov dx, cx
dec edx
mov si, dx
mov word [0x4994f0], si
movsx edx, cx
add edx, 0x549b8176
cmp eax, edx
jge 0x41ae0e
mov eax, dword [0x4964a0]
and eax, 0xa8fe
mov cx, word [0x49833a]
mov dx, cx
add edx, eax
mov cx, dx
mov word [0x49833a], cx
jmp 0x41ae13
jmp 0x41ae18
mov ax, word [0x499ee4]
movsx ecx, ax
mov edx, dword [0x48aff0]
xor ecx, edx
xor ecx, 0xf11199a6
mov dword [0x48aff0], ecx
add esp, 0x30
pop esi
pop edi
ret