Function at 0x42efb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b45b
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x676300]
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
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x114], 0
call fcn.00534b40
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.00426740
lea edi, [ebp - 0x114]
add esp, 0x14
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42f015
mov dx, word [0x65c970]
lea eax, [ebp - 0x114]
mov word [edi], dx
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42f030
mov ecx, dword [str.auditstate.dat]
mov edx, dword [0x57a790]
mov dword [eax], ecx
mov ecx, dword [0x57a794]
mov dword [eax + 4], edx
mov dx, word [0x57a798]
mov dword [eax + 8], ecx
mov cl, byte [0x57a79a]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov ecx, esi
mov dword [esi + 0x174], 0
call fcn.00430e30
push str.auditstate.dat
mov ecx, esi
call fcn.00430c40
mov ebx, dword [esi + 8]
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x340], ebx
test ebx, ebx
je 0x42f09d
mov ecx, ebx
call fcn.004ef6fb
push 0x57a78d
lea edx, [ebp - 0x114]
push edx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00430cb0
mov edi, eax
cmp edi, 0xfffffff7
je 0x42f0db
cmp dword [esi + 0x18], 0x8c
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x338], ecx
jae 0x42f1be
mov ecx, esi
call fcn.00430d50
lea edx, [ebp - 0x114]
push 0x579fa8
push edx
call fcn.00536808
mov edi, eax
add esp, 8
test edi, edi
je 0x42f1a9
push 0x7f
lea eax, [ebp - 0x19f]
push 0
push eax
mov byte [ebp - 0x1a0], 0
call fcn.00534b40
push 0x7f
xor eax, eax
lea ecx, [ebp - 0x1a0]
push 0x57a75c
push ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
call fcn.00537970
push edi
push 1
lea edx, [ebp - 0x1a0]
push 0x8c
push edx
mov dword [ebp - 0x120], 2
mov dword [ebp - 0x118], 0x98abcdef
call fcn.00535138
push 0x18d
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.00534b40
add esp, 0x34
mov ebx, 0x7d0
lea ebx, [ebx]
push edi
push 0x18d
lea ecx, [ebp - 0x330]
push 1
push ecx
call fcn.00535138
add esp, 0x10
dec ebx
jne 0x42f180
push edi
call fcn.00536f74
mov ebx, dword [ebp - 0x334]
add esp, 4
push 0x57a78d
lea edx, [ebp - 0x114]
push edx
mov ecx, esi
call fcn.00430cb0
mov edi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f231
cmp dword [eax + 0x80], 1
jne 0x42f208
mov dword [eax + 0x80], 2
mov dword [eax + 0x84], 0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
add ecx, 0xffffff74
push ecx
add eax, 0x8c
push 0
push eax
mov dword [ebp - 0x338], edx
call fcn.00534b40
add esp, 0xc
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
lea edx, [edx - 0x8c]
mov eax, 0x2944ff5b
mul edx
mov dword [ebp - 0x338], ecx
shr edx, 6
mov ecx, esi
mov dword [esi + 0x174], edx
call fcn.0042ee20
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42f243
mov ecx, ebx
call fcn.004ef710
mov eax, edi
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.00534bba
mov esp, ebp
pop ebp
ret