Function at 0x419d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dc14
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ecx
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x419dc0
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x4c]
call fcn.00409b10
mov dword [ebp - 4], ebx
mov eax, esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
push eax
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
call fcn.00409a30
xor eax, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x68], al
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004194d0
test al, al
je 0x419e1b
lea ecx, [ebp - 0x30]
call fcn.004198a0
jmp 0x419e23
lea ecx, [ebp - 0x4c]
call fcn.00419610
mov eax, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x419e33
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x30]
call fcn.004274b0
mov eax, dword [ebp - 0x30]
add esp, 4
cmp dword [ebp - 0x1c], esi
jae 0x419e4a
lea eax, [ebp - 0x30]
push eax
lea ebx, [ebp - 0x68]
call fcn.00427610
mov edx, dword [ebp - 0x4c]
add esp, 4
cmp dword [ebp - 0x38], esi
jae 0x419e61
lea edx, [ebp - 0x4c]
mov ebx, dword [ebp - 0xb4]
mov esi, dword [ebx + 8]
push esi
call fcn.0041e320
add esp, 4
xor edi, edi
mov dword [ebp - 0xc4], eax
cmp eax, esi
jge 0x419e8d
mov ecx, dword [ebx + 4]
lea esi, [ecx + eax*8]
mov dword [ebp - 0xb8], esi
jmp 0x419e95
mov dword [ebp - 0xb8], edi
mov esi, edi
cmp dword [esi], edi
jne 0x419faf
mov ecx, dword [ebx]
add ecx, 0xbc
mov ebx, 0x10
cmp dword [ecx + 0x14], ebx
jb 0x419eb1
mov ecx, dword [ecx]
mov edx, ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.0041e360
add esp, 4
push eax
mov eax, str..new
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.0040b2f0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], ebx
jb 0x419ef2
mov edx, dword [ebp - 0x84]
push edx
call fcn.004310e1
add esp, 4
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x98], ebx
jae 0x419f06
lea eax, [ebp - 0xac]
push 0x591da0
push eax
push esi
mov dword [esi], edi
call fcn.00534419
add esp, 0xc
cmp dword [esi], edi
jne 0x419f98
cmp dword [ebp - 0x98], ebx
jb 0x419f32
mov eax, dword [ebp - 0xac]
push eax
call fcn.004310e1
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0xac], 0
cmp dword [ebp - 0x54], ebx
jb 0x419f5b
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
cmp dword [ebp - 0x1c], ebx
jb 0x419f76
mov edx, dword [ebp - 0x30]
push edx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], ebx
jb 0x419f91
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004310e1
add esp, 4
xor al, al
jmp 0x41a200
cmp dword [ebp - 0x98], ebx
jb 0x419faf
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.004310e1
add esp, 4
mov ebx, dword [ebp - 0xb0]
cmp ebx, 5
jb 0x41a107
cmp byte [ebp + 0x10], 1
jne 0x41a107
mov eax, ebx
shr eax, 0xe
mov edx, ebx
shr edx, 0x19
add eax, ebx
mov ecx, ebx
shr ecx, 0xc
add eax, edx
lea edi, [ecx + eax + 0x1a]
push edi
call fcn.004310d6
add esp, 4
push edi
mov edi, ebx
mov ebx, dword [ebp - 0xc0]
mov esi, eax
mov dword [ebp - 0xbc], eax
call fcn.00418d10
mov esi, eax
add esp, 4
cmp esi, edi
jae 0x41a081
mov edi, dword [ebp - 0xb8]
mov edx, dword [edi]
mov eax, dword [ebp - 0xbc]
mov ebx, dword [edi + 4]
push edx
push 1
push esi
push eax
call fcn.00534d51
add esp, 0x10
cmp eax, 1
jne 0x41a053
add dword [edi + 4], esi
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x41a039
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0xc4]
push edx
push ebx
push esi
lea ecx, [ebp - 0x90]
call fcn.00419ad0
mov byte [ebp - 4], 4
jmp 0x41a0cb
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004310e1
add esp, 4
lea esi, [ebp - 0x68]
call fcn.004097a0
lea esi, [ebp - 0x30]
call fcn.004097a0
lea esi, [ebp - 0x4c]
call fcn.004097a0
xor al, al
jmp 0x41a200
mov esi, dword [ebp - 0xb8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc0]
mov ebx, dword [esi + 4]
push eax
push 1
push edi
push ecx
call fcn.00534d51
add esp, 0x10
cmp eax, 1
jne 0x41a0fb
add dword [esi + 4], edi
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x41a0b3
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc4]
push ecx
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.00419ad0
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x90]
add edi, 0xc
call fcn.0041a460
lea esi, [ebp - 0x90]
call fcn.004097a0
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004310e1
jmp 0x41a1a8
mov edx, dword [ebp - 0xbc]
push edx
jmp 0x41a05a
mov ecx, dword [esi]
mov edx, dword [ebp - 0xc0]
mov eax, dword [esi + 4]
push ecx
push 1
push ebx
push edx
mov dword [ebp - 0xb0], eax
call fcn.00534d51
add esp, 0x10
cmp eax, 1
jne 0x41a21e
add dword [esi + 4], ebx
cmp dword [ebp - 0x38], 0x10
mov esi, dword [ebp - 0x4c]
jae 0x41a13d
lea esi, [ebp - 0x4c]
mov ecx, esi
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x90], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a153
sub ecx, edx
mov eax, esi
mov edi, ecx
lea esi, [ebp - 0x90]
call fcn.00409b10
mov eax, dword [ebp - 0xb0]
mov cx, word [ebp - 0xc4]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
mov word [ebp - 0x6c], cx
mov edi, dword [ebp - 0xb4]
add edi, 0xc
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041a460
cmp dword [ebp - 0x7c], 0x10
jb 0x41a1ab
mov edx, dword [ebp - 0x90]
push edx
call fcn.004310e1
add esp, 4
mov esi, 0x10
cmp dword [ebp - 0x54], esi
jb 0x41a1c1
mov eax, dword [ebp - 0x68]
push eax
call fcn.004310e1
add esp, 4
xor edi, edi
mov ebx, 0xf
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
cmp dword [ebp - 0x1c], esi
jb 0x41a1e3
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], esi
jb 0x41a1fe
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004310e1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 0xc
mov esi, 0x10
cmp dword [ebp - 0x54], esi
jb 0x41a234
mov eax, dword [ebp - 0x68]
push eax
call fcn.004310e1
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
cmp dword [ebp - 0x1c], esi
jb 0x41a254
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], esi
jb 0x419f91
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004310e1
add esp, 4
xor al, al
jmp 0x41a200