Function at 0x4015b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40dc49
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x41207c]
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
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0xd8], ecx
xor edx, edx
mov ecx, eax
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x401610
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0xd4]
call fcn.00403780
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0xb8], ax
mov eax, edi
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401650
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0xb8]
call fcn.00403780
mov esi, dword [ebp - 0xd8]
mov byte [ebp - 4], 1
mov edi, 7
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401696
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x9c]
call fcn.00403780
mov esi, 0xf
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
push 0x410134
push 0x65
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x4016eb
lea edx, [ebp - 0x64]
push edx
call fcn.00401510
add esp, 4
cmp al, bl
jne 0x401784
cmp dword [ebp - 0x50], 0x10
jb 0x4016fd
mov eax, dword [ebp - 0x64]
push eax
call fcn.004044b8
add esp, 4
mov dword [ebp - 0x50], esi
mov esi, 8
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x88], esi
jb 0x401722
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004044b8
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0xa4], esi
jb 0x40174e
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004044b8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0xc0], esi
jb 0x40177a
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004044b8
add esp, 4
mov eax, 1
jmp 0x401c2a
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x401790
lea ecx, [ebp - 0x64]
lea ebx, [ebp - 0x80]
call fcn.004013a0
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x2c], ax
push 8
mov eax, str._DOCROOT
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403780
lea ecx, [ebp - 0xd4]
mov eax, ebx
push ecx
mov edi, esi
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.004014b0
mov ebx, 8
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x4017ef
mov edx, dword [ebp - 0x48]
push edx
call fcn.004044b8
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jb 0x401817
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004044b8
add esp, 4
mov dword [ebp - 0x1c], esi
xor edx, edx
push ebx
mov eax, str._SRVPORT
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov word [ebp - 0x2c], dx
call fcn.00403780
lea eax, [ebp - 0xb8]
push eax
mov edi, esi
lea eax, [ebp - 0x80]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004014b0
mov edi, 8
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x401862
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004044b8
add esp, 4
xor ebx, ebx
xor edx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x401889
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004044b8
add esp, 4
push 0x410178
push str.httpd_conf_nginx.conf
call fcn.004049ee
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4018f1
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4018ac
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x2c]
push edx
call fcn.00401290
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x4018c8
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push ecx
push 1
push eax
call fcn.00404b5c
push esi
call fcn.00404c43
add esp, 0x14
cmp dword [ebp - 0x18], edi
jb 0x4018f6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004044b8
add esp, 4
jmp 0x4018f6
mov edi, 0x10
push 0x410134
push 0x66
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x40191c
lea ecx, [ebp - 0x64]
push ecx
call fcn.00401510
add esp, 4
cmp al, bl
jne 0x4019df
cmp dword [ebp - 0x6c], 8
jb 0x40192e
mov edx, dword [ebp - 0x80]
push edx
call fcn.004044b8
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x50], edi
jb 0x401950
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004044b8
add esp, 4
mov edi, 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x88], edi
jb 0x401979
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004044b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0xa4], edi
jb 0x4019a5
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004044b8
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0xc0], edi
jb 0x40177a
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004044b8
add esp, 4
mov eax, 1
jmp 0x401c2a
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x4019ea
lea ecx, [ebp - 0x64]
lea ebx, [ebp - 0x48]
call fcn.004013a0
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00402d90
mov ebx, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x401a1a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004044b8
add esp, 4
xor edx, edx
push ebx
mov eax, str._DOCROOT
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403780
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], bl
push eax
mov edi, esi
lea eax, [ebp - 0x80]
lea ebx, [ebp - 0x48]
call fcn.004014b0
mov ebx, 8
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x401a6c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004044b8
add esp, 4
xor esi, esi
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x401a94
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004044b8
add esp, 4
mov dword [ebp - 0x1c], esi
xor ecx, ecx
push ebx
mov eax, str._SRVPORT
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov word [ebp - 0x2c], cx
call fcn.00403780
lea edx, [ebp - 0x9c]
push edx
mov edi, esi
lea eax, [ebp - 0x80]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004014b0
mov edi, 8
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x401adf
mov eax, dword [ebp - 0x48]
push eax
call fcn.004044b8
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x401b06
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004044b8
add esp, 4
push 0x410178
push str.ftpd_myftpd.xml
call fcn.004049ee
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x401b6e
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x401b29
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x2c]
push eax
call fcn.00401290
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x401b45
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push ecx
push 1
push eax
call fcn.00404b5c
push esi
call fcn.00404c43
add esp, 0x14
cmp dword [ebp - 0x18], edi
jb 0x401b73
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004044b8
add esp, 4
jmp 0x401b73
mov edi, 0x10
cmp dword [ebp - 0x6c], 8
jb 0x401b85
mov eax, dword [ebp - 0x80]
push eax
call fcn.004044b8
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], edi
jb 0x401ba7
mov edx, dword [ebp - 0x64]
push edx
call fcn.004044b8
add esp, 4
mov edi, 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x88], edi
jb 0x401bd0
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004044b8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0xa4], edi
jb 0x401bfc
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004044b8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0xc0], edi
jb 0x401c28
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004044b8
add esp, 4
xor eax, eax
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.004042bb
mov esp, ebp
pop ebp
ret