Function at 0x43acb0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, dword [0x483bb4]
mov ecx, dword [0x47fbd8]
not ecx
and ecx, eax
mov eax, dword [0x481b58]
sub eax, ecx
mov dword [0x481b58], eax
and dword [0x48347c], 0x3487ef50
cmp dword [0x488218], 0
jne 0x43ad1f
mov ax, word [0x484f10]
imul eax, eax, 0x5c10
mov word [0x484f10], ax
call fcn.0042aa10
mov dword [0x488218], eax
mov eax, dword [0x484954]
lea ecx, [eax + 1]
mov dword [0x484954], ecx
cmp eax, 0x1c45aef6
jg 0x43ad1f
mov ax, word [0x486a54]
mov eax, dword [0x4814f0]
mov ecx, dword [0x484204]
imul ecx, eax
imul eax, ecx, 0xe4537627
mov dword [0x484204], eax
mov dword [esp + 4], 3
mov dword [esp], 0x6bbd
call fcn.00449c30
mov edi, eax
add dword [0x482a3c], 0xf8c28eed
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0045141d
mov esi, eax
mov eax, dword [0x482d90]
dec eax
mov dword [0x482d90], eax
mov cx, word [0x486b00]
sub ecx, eax
mov word [0x486b00], cx
mov eax, dword [0x481178]
imul eax, eax, 0x552be516
cmp eax, 0x4042773a
jg 0x43ad9d
mov dword [0x480d74], 0xfedfef77
mov eax, dword [0x4815e4]
or eax, 0xb571
mov cx, word [0x484ebc]
add ecx, eax
mov word [0x484ebc], cx
mov ax, word [0x485616]
and eax, 0xf756
mov word [0x485616], ax
mov byte [edi], 0
mov byte [edi + 1], 0
mov byte [edi + 2], 0
mov byte [edi + 3], 0
mov byte [edi + 4], 0
mov byte [edi + 5], 0
mov byte [edi + 6], 0
mov ax, word [0x486cfa]
inc eax
mov word [0x486cfa], ax
mov eax, dword [0x4802d8]
imul eax, eax, 0x96cfe698
mov dword [0x4802d8], eax
mov dword [esp], edi
call fcn.0044d9c0
mov ax, word [0x485f5a]
and eax, 0x79f1
mov word [0x485f5a], ax
add dword [0x481bc0], 0x9488ce04
test esi, esi
jne 0x43afbe
mov eax, dword [0x483334]
inc eax
mov dword [0x483334], eax
cmp eax, 0xa3a70575
jg 0x43ae47
add dword [0x482114], 0x2f3e7340
mov dword [esp], 0x446
call dword [0x47f2a0]
sub esp, 4
mov eax, dword [0x4829f4]
shl eax, 7
mov ecx, dword [0x47f490]
dec ecx
mov dword [0x47f490], ecx
or ecx, eax
cmp ecx, 0x64f102c
jne 0x43aeb8
mov ax, word [0x4851d8]
inc eax
mov word [0x4851d8], ax
cwde
mov ecx, dword [0x483de8]
lea edx, [ecx - 1]
mov dword [0x483de8], edx
imul eax, ecx
add eax, 0x825d8180
cmp eax, 0xbb3f510e
jg 0x43aeb8
mov eax, dword [0x483e10]
imul eax, eax, 0xe0d9e739
add eax, 0x4309fb2a
or dword [0x483ac0], eax
mov dword [esp + 4], 3
mov dword [esp], 0x6bbd
call fcn.00449c30
mov edi, eax
mov ax, word [0x4852b8]
dec eax
mov word [0x4852b8], ax
cwde
mov ecx, dword [0x483650]
and ecx, eax
cmp ecx, 0x3545edbc
jg 0x43aefd
mov ax, word [0x4871d6]
and eax, 0x54ca
mov word [0x4871d6], ax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0045141d
mov esi, eax
mov ax, word [0x485688]
and eax, 0x55a8
mov word [0x485688], ax
mov eax, dword [0x481178]
imul eax, eax, 0x552be516
cmp eax, 0x4042773a
jg 0x43af38
mov dword [0x480d74], 0xfedfef77
mov eax, dword [0x4815e4]
or eax, 0xb571
mov cx, word [0x484ebc]
add ecx, eax
mov word [0x484ebc], cx
mov ax, word [0x485616]
and eax, 0xf756
mov word [0x485616], ax
mov byte [edi], 0
mov byte [edi + 1], 0
mov byte [edi + 2], 0
mov byte [edi + 3], 0
mov byte [edi + 4], 0
mov byte [edi + 5], 0
mov byte [edi + 6], 0
mov ax, word [0x486cfa]
inc eax
mov word [0x486cfa], ax
mov eax, dword [0x4802d8]
imul eax, eax, 0x96cfe698
mov dword [0x4802d8], eax
mov dword [esp], edi
call fcn.0044d9c0
mov ax, word [0x485f5a]
and eax, 0x79f1
mov word [0x485f5a], ax
add dword [0x482730], 0xbbc7e2eb
mov eax, dword [0x47fa44]
lea ecx, [eax + 1]
mov dword [0x47fa44], ecx
add eax, 0x4a0bcb2e
cmp eax, 0x6bd10842
jg 0x43aff4
mov eax, dword [0x48291c]
cmp eax, 0x9ef61f60
jl 0x43aff4
mov eax, dword [0x484928]
or eax, 0x85e7786c
add dword [0x481558], eax
test esi, esi
je 0x43b049
and dword [0x483574], 0x86bd228
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 4
mov dword [esp], 0x488218
call fcn.00451bb1
mov eax, dword [0x484740]
mov eax, dword [0x484628]
mov eax, dword [0x48034c]
inc dword [0x48075c]
mov dword [esp], esi
call fcn.00451c9f
add dword [0x484710], 0xdbdf7f3f
add dword [0x480a2c], 0x4faa5ba9
add esp, 0x10
pop esi
pop edi
pop ebx
ret