Function at 0x439808
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
inc eax
cmp eax, dword [0x47b7f8]
jl 0x4398db
mov eax, dword [0x47b7f8]
add eax, 0x14
mov dword [0x47b7f8], eax
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 2
mov dword [esp + 4], eax
mov eax, dword [0x47cd00]
mov dword [esp], eax
call sub.cygwin1.dll_realloc
mov dword [0x47cd00], eax
test eax, eax
jne 0x43989d
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], 0x4397a7
call sub.cygwin1.dll_fwrite
mov ecx, 0xffffffff
cmp dword [ebp + 0x10], 0
jne 0x439ea5
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 2
mov edi, eax
add edi, dword [0x47cd00]
mov eax, 0x870
test edi, 4
je 0x4398ce
mov dword [edi], 0
add edi, 4
mov eax, 0x86c
cld
mov ecx, eax
shr ecx, 2
mov eax, 0
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
mov edx, dword [0x47cd00]
lea eax, [edx + eax*4]
mov dword [ebp - 0x18], eax
mov word [eax], 0
mov word [eax + 2], 0
mov eax, dword [ebp + 8]
mov edx, eax
cmp byte [eax], 0x3e
jne 0x439921
lea eax, [edx + 1]
mov dword [ebp + 8], eax
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 2]
inc eax
mov word [edx + 2], ax
mov edx, dword [ebp + 8]
cmp byte [edx], 0x3e
je 0x439907
mov ecx, dword [ebp - 0x18]
cmp word [ecx + 2], 0
je 0x43995f
mov eax, dword [ebp + 8]
cmp byte [eax], 0x28
jne 0x439940
inc eax
mov dword [ebp + 8], eax
movzx eax, word [ecx]
or eax, 1
mov word [ecx], ax
mov edi, dword [ebp - 0x18]
cmp word [edi + 2], 0
je 0x43995f
mov eax, dword [ebp + 8]
cmp byte [eax], 0x26
jne 0x43995f
inc eax
mov dword [ebp + 8], eax
movzx eax, word [edi]
or eax, 4
mov word [edi], ax
mov dword [esp + 8], 0
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_strtoul
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
test byte [edx], 1
je 0x439a8f
mov byte [edx + 4], 4
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
cmp byte [eax], 0x2e
jne 0x439a38
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
test byte [edx + eax + 1], 1
je 0x4399bd
lea eax, [edx - 0x42]
jmp 0x4399c6
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
sub eax, 0x62
cmp eax, 0x11
ja case.0x4399cb.100
jmp dword [eax*4 + 0x4399d4]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 4], 4
jmp case.0x4399cb.100
mov edi, dword [ebp - 0x18]
mov byte [edi + 4], 2
jmp case.0x4399cb.100
mov eax, dword [ebp - 0x18]
mov byte [eax + 4], 1
inc dword [ebp + 8]
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0x2b
je 0x439a45
cmp byte [ebx], 0x2d
jne 0x439a48
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
test byte [edx + eax + 1], 4
je 0x439a83
mov dword [esp + 8], 0
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call sub.cygwin1.dll_strtoul
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], eax
cmp byte [ebx], 0x2d
jne 0x439a89
neg eax
mov dword [edx + 8], eax
jmp 0x439a89
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, eax
cmp byte [eax], 0
js 0x439ac1
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
mov ebx, eax
test byte [edx + eax + 1], 4
je 0x439ac1
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov ecx, eax
cmp byte [eax], 0
js 0x439ac1
movzx eax, byte [eax]
test byte [eax + ebx + 1], 4
jne 0x439aaa
mov eax, dword [ebp + 8]
mov ecx, eax
cmp byte [eax], 0
js 0x439af3
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
mov ebx, eax
test byte [edx + eax + 1], 8
je 0x439af3
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov ecx, eax
cmp byte [eax], 0
js 0x439af3
movzx eax, byte [eax]
test byte [eax + ebx + 1], 8
jne 0x439adc
mov eax, dword [ebp + 8]
cmp byte [eax], 0x75
jne 0x439b0b
inc eax
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
or eax, 2
mov word [ecx], ax
mov esi, dword [ebp + 8]
mov eax, 0x4397c0
mov ecx, 4
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439b33
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 1
jmp 0x439bcf
mov esi, dword [ebp + 8]
mov eax, 0x4397c5
mov ecx, 5
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439b5f
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 2
add dword [ebp + 8], 5
jmp 0x439cc8
mov esi, dword [ebp + 8]
mov eax, 0x4397cb
mov ecx, 4
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439b84
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 4
jmp 0x439bcf
mov esi, dword [ebp + 8]
mov eax, 0x4397d0
mov ecx, 6
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439bac
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 5
jmp 0x439cc4
mov esi, dword [ebp + 8]
mov eax, 0x4397d7
mov ecx, 4
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439bd8
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 6
add dword [ebp + 8], 4
jmp 0x439cc8
mov esi, dword [ebp + 8]
mov eax, 0x4397dc
mov ecx, 7
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439bfd
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 7
jmp 0x439c6d
mov esi, dword [ebp + 8]
mov eax, 0x4397e4
mov ecx, 6
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439c25
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 8
jmp 0x439cc4
mov esi, dword [ebp + 8]
mov eax, 0x4397eb
mov ecx, 6
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439c4a
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 9
jmp 0x439cc4
mov esi, dword [ebp + 8]
mov eax, 0x4397f2
mov ecx, 7
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439c73
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 0xa
add dword [ebp + 8], 7
jmp 0x439cc8
mov esi, dword [ebp + 8]
mov eax, 0x4397fa
mov ecx, 6
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x439c98
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 0xb
jmp 0x439cc4
mov esi, dword [ebp + 8]
mov eax, 0x439801
mov ecx, 6
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
mov ecx, 0xffffffff
cmp dl, al
jne 0x439ea5
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 0xc
add dword [ebp + 8], 6
mov eax, dword [ebp + 8]
cmp byte [eax], 0x26
jne 0x439d0d
inc eax
mov dword [ebp + 8], eax
mov dword [esp + 8], 0
lea edx, [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strtoul
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call fcn.00439745
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x34], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0043a223
jmp 0x439d17
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, eax
cmp byte [eax], 0
js 0x439d49
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
mov ebx, eax
test byte [edx + eax + 1], 8
je 0x439d49
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov ecx, eax
cmp byte [eax], 0
js 0x439d49
movzx eax, byte [eax]
test byte [eax + ebx + 1], 8
jne 0x439d32
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x3e
jg 0x439d63
cmp eax, 0x3c
jge 0x439d68
cmp eax, 0x21
je 0x439d76
cmp eax, 0x26
jmp 0x439d66
cmp eax, 0x5e
jne 0x439d8d
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x10], al
jmp 0x439d88
mov edi, dword [ebp - 0x18]
cmp byte [edi + 0x11], 5
je 0x439d8d
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov byte [edi + 0x10], al
inc dword [ebp + 8]
jmp 0x439dbe
mov eax, dword [ebp + 8]
cmp byte [eax], 0x78
jne 0x439db7
cmp byte [eax + 1], 0
js 0x439db7
movzx edx, byte [eax + 1]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
test byte [edx + eax + 1], 8
je 0x439db7
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x10], 0x78
inc dword [ebp + 8]
jmp 0x439e0f
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x10], 0x3d
mov eax, dword [ebp + 8]
mov ecx, eax
cmp byte [eax], 0
js 0x439df0
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
mov ebx, eax
test byte [edx + eax + 1], 8
je 0x439df0
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov ecx, eax
cmp byte [eax], 0
js 0x439df0
movzx eax, byte [eax]
test byte [eax + ebx + 1], 8
jne 0x439dd9
lea ecx, [ebp + 8]
mov dword [esp + 4], ecx
mov edi, dword [ebp - 0x18]
mov dword [esp], edi
call fcn.00439eaf
mov ecx, 0xffffffff
test eax, eax
jne 0x439ea5
mov eax, dword [ebp + 8]
mov ecx, eax
cmp byte [eax], 0
js 0x439e41
movzx edx, byte [eax]
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
mov ebx, eax
test byte [edx + eax + 1], 8
je 0x439e41
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov ecx, eax
cmp byte [eax], 0
js 0x439e41
movzx eax, byte [eax]
test byte [eax + ebx + 1], 8
jne 0x439e2a
mov eax, dword [ebp + 8]
cmp byte [eax], 8
jne 0x439e56
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x38], 1
jmp 0x439e7b
mov eax, dword [ebp + 8]
cmp byte [eax], 0x5c
jne 0x439e74
cmp byte [eax + 1], 0x62
jne 0x439e74
inc eax
mov dword [ebp + 8], eax
inc dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x38], 1
jmp 0x439e7b
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x38], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi + 0x39], al
inc dword [ebp + 8]
inc edi
mov dword [ebp - 0x14], edi
test al, al
je 0x439e9b
cmp edi, 0x31
jle 0x439e7b
mov ecx, dword [ebp + 0xc]
inc dword [ecx]
mov ecx, 0
mov eax, ecx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret