Function at 0x436450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c80f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x449464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
movzx ecx, byte [eax + 0x22a4]
test ecx, ecx
je 0x4364ff
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
mov edx, dword [eax + 0x2290]
or edx, dword [ecx + 0x2294]
je 0x4364fa
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00436080
mov eax, dword [ebp + 8]
cdq
mov ecx, dword [ebp - 0x60]
add eax, dword [ecx + 0x2218]
mov ecx, dword [ecx + 0x221c]
adc ecx, edx
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x2218], eax
mov dword [edx + 0x221c], ecx
jmp 0x4369d4
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x22a8], 0
je 0x4365a5
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22ac]
add edx, dword [ebp + 8]
push edx
call fcn.00403ba0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22ac]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004043d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x22ac]
push eax
call fcn.004043d0
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00403ca1
add esp, 4
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x22a8], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22ac]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x22ac], ecx
jmp 0x4365e6
mov eax, dword [ebp + 8]
push eax
call fcn.00403ba0
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x22a8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
push eax
call fcn.004043d0
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x22ac], edx
mov dword [ebp - 0x24], 0
jmp 0x4365f8
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
sub ecx, 3
cmp dword [ebp - 0x24], ecx
jge 0x436810
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x24]
movsx edx, byte [eax + ecx]
cmp edx, 0x20
jne 0x436755
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp - 0x24]
movsx eax, byte [ecx + edx + 1]
cmp eax, 0x32
jne 0x436667
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp - 0x24]
movsx ecx, byte [edx + eax + 2]
cmp ecx, 0x30
jne 0x436667
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x24]
movsx edx, byte [eax + ecx + 3]
cmp edx, 0x30
jne 0x436667
jmp 0x436810
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp - 0x24]
movsx eax, byte [ecx + edx + 1]
cmp eax, 0x32
jne 0x4366ae
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp - 0x24]
movsx ecx, byte [edx + eax + 2]
cmp ecx, 0x30
jne 0x4366ae
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x24]
movsx edx, byte [eax + ecx + 3]
cmp edx, 0x36
jne 0x4366ae
jmp 0x436810
mov dword [ebp - 0x28], 0
jmp 0x4366c0
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + 8]
jge 0x436706
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x28]
movsx edx, byte [eax + ecx]
cmp edx, 0xd
je 0x4366f2
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp - 0x28]
movsx eax, byte [ecx + edx]
cmp eax, 0xa
jne 0x436704
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp - 0x28]
mov byte [edx + eax], 0
jmp 0x436706
jmp 0x4366b7
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp + 8]
mov byte [eax + edx - 1], 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00434970
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x10
call fcn.00434c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00434660
xor al, al
jmp 0x4369d6
mov ecx, dword [ebp + 8]
sub ecx, 4
cmp dword [ebp - 0x24], ecx
jne 0x43680b
mov dword [ebp - 0x2c], 0
jmp 0x436776
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 8]
jge 0x4367bc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [edx + eax]
cmp ecx, 0xd
je 0x4367a8
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [eax + ecx]
cmp edx, 0xa
jne 0x4367ba
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp - 0x2c]
mov byte [ecx + edx], 0
jmp 0x4367bc
jmp 0x43676d
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp + 8]
mov byte [edx + ecx - 1], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00434970
mov dword [ebp - 4], 1
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x10
call fcn.00434c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00434660
xor al, al
jmp 0x4369d6
jmp 0x4365ef
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x436830
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x22ac]
jge 0x4368ee
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22a8]
mov edx, dword [ebp - 0x18]
movsx eax, byte [ecx + edx]
cmp eax, 0xd
jne 0x436862
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x43688f
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
mov ecx, dword [ebp - 0x18]
movsx edx, byte [eax + ecx]
cmp edx, 0xa
jne 0x436882
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x43688f
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 2
je 0x43689b
cmp dword [ebp - 0x1c], 2
jne 0x4368e9
cmp dword [ebp - 0x14], 2
jne 0x4368e7
cmp dword [ebp - 0x1c], 1
jne 0x4368e7
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22ac]
sub eax, 1
cmp dword [ebp - 0x18], eax
jge 0x4368e2
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a8]
mov eax, dword [ebp - 0x18]
movsx ecx, byte [edx + eax + 1]
cmp ecx, 0xa
jne 0x4368e2
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4368e7
jmp 0x436827
jmp 0x4368ee
jmp 0x436827
cmp dword [ebp - 0x14], 2
jne 0x4368fa
cmp dword [ebp - 0x1c], 2
je 0x43691a
cmp dword [ebp - 0x14], 2
jne 0x436906
cmp dword [ebp - 0x1c], 0
je 0x43691a
cmp dword [ebp - 0x14], 0
jne 0x4369d4
cmp dword [ebp - 0x1c], 2
jne 0x4369d4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x22ac]
jge 0x4369ca
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x2290]
or ecx, dword [eax + 0x2294]
je 0x4369ca
mov dword [ebp - 0x30], 0
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x22ac]
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x22a8]
add eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x22a0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x22ac]
sub eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00436080
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0x22ac]
sub eax, dword [ebp - 0x18]
cdq
mov ecx, dword [ebp - 0x60]
add eax, dword [ecx + 0x2218]
mov ecx, dword [ecx + 0x221c]
adc ecx, edx
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x2218], eax
mov dword [edx + 0x221c], ecx
mov eax, dword [ebp - 0x60]
mov byte [eax + 0x22a4], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4