Function at 0x4161c0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [0x49a9a0], 0
mov dword [0x49a9b0], 0
mov dword [0x49a9d0], 0
cmp dword [0x45a090], 0
je 0x4161fe
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00415fed
mov dword [0x49edf0], 0xfe
mov edx, dword [ebp + 0x10]
test byte [edx + 0x128], 0x40
je 0x41621e
mov eax, 0
jmp 0x417384
mov esi, dword [ebp + 0xc]
mov edi, 0x4160b2
mov ecx, 2
cld
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb al
cmp cl, al
je 0x416251
mov esi, dword [ebp + 0xc]
mov edi, 0x4160b4
mov ecx, 3
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb al
cmp cl, al
jne 0x41625a
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x28], 1
jmp 0x416270
mov edx, dword [ebp + 0x10]
lea edi, [edx + 0x29]
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [edx + 0x28], cl
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x28]
add al, 0x21
mov byte [edx + 8], al
movzx eax, al
mov dword [0x49a9c0], eax
test al, 1
je 0x416298
inc eax
mov dword [0x49a9c0], eax
movzx eax, byte [0x49a9c0]
mov byte [edx + 8], al
cmp dword [0x49a9c0], 0x45
jg 0x4162ab
mov dword [0x49a9c0], 0x46
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0xf000
cmp eax, 0x8000
jne 0x416435
cmp dword [0x45a17c], 0
je 0x416435
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x178], 0
je 0x416435
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x2a
cmp eax, dword [0x49edf0]
jle 0x41630e
mov dword [esp + 4], 0x12a
mov dword [esp], 0x4160b7
call fcn.00415e00
mov ebx, dword [0x49a9a0]
mov byte [ebx + 0x49a9e0], 0x41
mov byte [ebx + 0x49a9e1], 0x41
mov byte [ebx + 0x49a9e2], 0xe
mov byte [ebx + 0x49a9e3], 2
lea ecx, [ebx + 4]
mov dword [0x49a9a0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x48]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 5]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x49]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 6]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x4a]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 7]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x4b]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 8]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x4d]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 9]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x4e]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 0xa]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x4f]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 0xb]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x50]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 0xc]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movsx eax, byte [eax + 0x39]
mov byte [ecx + 0x49a9e0], al
lea ecx, [ebx + 0xd]
mov dword [0x49a9a0], ecx
mov eax, dword [edx + 0x178]
movzx eax, byte [eax + 0x38]
mov byte [ecx + 0x49a9e0], al
lea eax, [ebx + 0xe]
mov dword [0x49a9a0], eax
cmp dword [0x45a08c], 0
je 0x417321
test byte [ebp + 0x1c], 0x10
je 0x4164a7
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x53
mov byte [eax + 0x49a9e1], 0x50
mov byte [eax + 0x49a9e2], 7
mov byte [eax + 0x49a9e3], 1
mov byte [eax + 0x49a9e4], 0xbe
mov byte [eax + 0x49a9e5], 0xef
lea edx, [eax + 6]
mov dword [0x49a9a0], edx
cmp dword [0x45a090], 0
je 0x416495
mov byte [edx + 0x49a9e0], 0xe
add eax, 7
jmp 0x4164a2
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0
inc eax
mov dword [0x49a9a0], eax
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x21
cmp eax, dword [0x49edf0]
jle 0x4164d7
mov dword [esp + 4], 0x154
mov dword [esp], 0x4160ba
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x52
mov byte [eax + 0x49a9e1], 0x52
mov byte [eax + 0x49a9e2], 5
mov byte [eax + 0x49a9e3], 1
lea edx, [eax + 4]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], 0
mov byte [edx + 0x49a9e0], 0
add eax, 5
mov dword [0x49a9a0], eax
mov esi, dword [ebp + 0xc]
mov edi, 0x4160b2
mov ecx, 2
cld
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb al
cmp cl, al
je 0x416720
mov esi, dword [ebp + 0xc]
mov edi, 0x4160b4
mov ecx, 3
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb al
cmp cl, al
je 0x416720
cmp dword [0x45a188], 0
je 0x416588
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x178], 0
je 0x416588
cmp dword [eax + 0x188], 0
je 0x416588
mov ebx, dword [eax + 0x178]
mov edi, ebx
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
lea edi, [ecx - 1]
mov dword [ebp - 0x38], ebx
jmp 0x4165a0
mov edi, dword [ebp + 0xc]
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
lea edi, [ecx - 1]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x22
cmp eax, dword [0x49edf0]
jle 0x4165d0
mov dword [esp + 4], 0x171
mov dword [esp], 0x4160bd
call fcn.00415e00
test edi, edi
je 0x416720
mov ebx, edi
mov dword [ebp - 0x34], 0
mov esi, dword [0x49a9c0]
lea eax, [esi + edi]
mov ecx, dword [0x49a9a0]
mov edx, ecx
sub edx, dword [0x49a9b0]
lea eax, [edx + eax + 0x21]
cmp eax, dword [0x49edf0]
jle 0x416618
lea ecx, [esi + edx]
mov eax, dword [0x49edf0]
sub eax, ecx
lea ebx, [eax - 0x21]
mov dword [ebp - 0x34], 1
cmp ebx, 0xf8
jle 0x416628
mov ebx, 0xf8
inc dword [ebp - 0x34]
test ebx, ebx
jns 0x416644
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4160d0
mov dword [esp], 0xffffffff
call fcn.0044ed0c
mov ecx, dword [0x49a9a0]
mov byte [ecx + 0x49a9e0], 0x4e
mov byte [ecx + 0x49a9e1], 0x4d
mov al, bl
add al, 5
mov byte [ecx + 0x49a9e2], al
mov byte [ecx + 0x49a9e3], 1
lea esi, [ecx + 5]
mov dword [0x49a9a0], esi
cmp edi, ebx
setne byte [ecx + 0x49a9e4]
or dword [ebp - 0x30], 8
cmp dword [0x45a188], 0
je 0x4166c2
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x178], 0
je 0x4166c2
cmp dword [eax + 0x188], 0
je 0x4166c2
mov eax, dword [0x45a1ec]
mov dword [esp + 0x10], eax
mov eax, dword [0x45a1f0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
lea eax, [esi + 0x49a9e0]
jmp 0x4166e9
mov eax, dword [0x45a1ec]
mov dword [esp + 0x10], eax
mov eax, dword [0x45a1e8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [0x49a9a0]
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00415c8f
add dword [ebp - 0x38], ebx
add dword [0x49a9a0], ebx
sub edi, ebx
je 0x416720
cmp dword [ebp - 0x34], 0
je 0x416718
mov dword [esp + 4], 0x1a0
mov dword [esp], 0x4160bd
call fcn.00415e00
test edi, edi
jne 0x4165d8
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x48
cmp eax, dword [0x49edf0]
jle 0x416750
mov dword [esp + 4], 0x1a6
mov dword [esp], 0x4160f6
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x50
mov byte [eax + 0x49a9e1], 0x58
lea edx, [eax + 2]
mov dword [0x49a9a0], edx
cmp dword [0x45807c], 0
je 0x416781
mov byte [edx + 0x49a9e0], 0x2c
add eax, 3
jmp 0x41678e
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x24
inc eax
mov dword [0x49a9a0], eax
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 1
inc eax
mov dword [0x49a9a0], eax
or dword [ebp - 0x30], 1
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x10]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
add eax, 8
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx + 0x14]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
add eax, 8
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x18]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
add eax, 8
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
add eax, 8
mov dword [0x49a9a0], eax
cmp dword [0x45807c], 0
je 0x41685f
mov dword [esp + 4], 0
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
add dword [0x49a9a0], 8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0xf000
cmp eax, 0x2000
je 0x41687c
cmp eax, 0x6000
jne 0x41691d
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x30
cmp eax, dword [0x49edf0]
jle 0x4168ac
mov dword [esp + 4], 0x1cb
mov dword [esp], 0x4160f9
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x50
mov byte [eax + 0x49a9e1], 0x4e
mov byte [eax + 0x49a9e2], 0x14
mov byte [eax + 0x49a9e3], 1
add eax, 4
mov dword [0x49a9a0], eax
or dword [ebp - 0x30], 2
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx + 0x22]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
add eax, 8
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
movzx ecx, word [edx + 0x20]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
add dword [0x49a9a0], 8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0xf000
cmp eax, 0xa000
jne 0x416e3a
mov dword [ebp - 0x50], 0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x49e9e0
mov eax, dword [ebp + 0xc]
test dword [ebp + 0x1c], 0x400
jne 0x416959
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_readlink
mov dword [ebp - 0x44], eax
test eax, eax
jns 0x41697b
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x4160fc
call fcn.0044ed95
mov eax, dword [ebp - 0x44]
shr eax, 0x1f
dec eax
and eax, dword [ebp - 0x44]
mov byte [eax + 0x49e9e0], 0
mov edi, 0x49e9e0
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x44], ecx
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0x12
mov dword [esp], eax
call fcn.00424792
mov dword [ebp - 0x48], 0x49e9e0
or dword [ebp - 0x30], 4
cmp dword [0x458060], 0
jne 0x416a57
mov ebx, 0
mov dword [ebp - 0x4c], 0x49e9e0
cmp byte [0x49e9e0], 0
je 0x4169fd
mov edx, dword [ebp - 0x4c]
cmp byte [edx], 0x2f
jne 0x4169f1
add ebx, 4
jmp 0x4169f2
inc ebx
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
cmp byte [eax], 0
jne 0x4169e4
cmp ebx, 0xfa
jle 0x416a24
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x416130
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.0044f0de
mov ecx, ebx
add ecx, dword [0x49a9c0]
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
lea eax, [eax + ecx + 0x30]
cmp eax, dword [0x49edf0]
jle 0x416a57
mov dword [esp + 4], 0x226
mov dword [esp], 0x416174
call fcn.00415e00
cmp dword [ebp - 0x44], 0
je 0x416e3a
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x30
cmp eax, dword [0x49edf0]
jle 0x416a91
mov dword [esp + 4], 0x22a
mov dword [esp], 0x416178
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x53
mov byte [eax + 0x49a9e1], 0x4c
lea edx, [eax + 2]
mov dword [ebp - 0x3c], edx
mov byte [edx + 0x49a9e0], 0x14
mov byte [eax + 0x49a9e3], 1
mov byte [eax + 0x49a9e4], 0
add eax, 5
mov dword [0x49a9a0], eax
mov dword [ebp - 0x40], 5
mov eax, dword [ebp - 0x48]
cmp byte [eax], 0
jne 0x416ae0
cmp dword [ebp - 0x50], 0
je 0x416e1b
mov dword [esp + 4], 0x2f
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call sub.cygwin1.dll_strchr
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x416b00
dec dword [ebp - 0x44]
mov byte [eax], 0
mov eax, dword [ebp - 0x48]
cmp byte [eax], 0x2e
jne 0x416bd2
cmp byte [eax + 1], 0x2e
jne 0x416b70
cmp byte [eax + 2], 0
jne 0x416b70
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x1e
cmp eax, dword [0x49edf0]
jle 0x416b48
mov dword [esp + 4], 0x241
mov dword [esp], 0x41617b
jmp 0x416c09
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 4
mov byte [eax + 0x49a9e1], 0
add eax, 2
mov dword [0x49a9a0], eax
add dword [ebp - 0x40], 2
sub dword [ebp - 0x44], 2
jmp 0x416dd7
mov eax, dword [ebp - 0x48]
cmp byte [eax], 0x2e
jne 0x416bd2
cmp byte [eax + 1], 0
jne 0x416bd2
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x1e
cmp eax, dword [0x49edf0]
jle 0x416bab
mov dword [esp + 4], 0x253
mov dword [esp], 0x416185
jmp 0x416c09
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 2
mov byte [eax + 0x49a9e1], 0
add eax, 2
mov dword [0x49a9a0], eax
add dword [ebp - 0x40], 2
dec dword [ebp - 0x44]
jmp 0x416dd7
mov eax, dword [ebp - 0x48]
cmp byte [eax], 0
jne 0x416c67
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x1e
cmp eax, dword [0x49edf0]
jle 0x416c23
mov dword [esp + 4], 0x265
mov dword [esp], 0x416190
call fcn.00415e00
cmp dword [ebp - 0x4c], 0
je 0x416e1b
mov edx, dword [ebp - 0x4c]
mov byte [edx], 0x2f
jmp 0x416cdc
cmp dword [ebp - 0x48], 0x49e9e0
jne 0x416c3a
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 8
jmp 0x416c46
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0
inc eax
mov dword [0x49a9a0], eax
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0
inc eax
mov dword [0x49a9a0], eax
add dword [ebp - 0x40], 2
jmp 0x416dd7
cmp dword [0x45805c], 0
je 0x416c8c
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x22
cmp eax, dword [0x49edf0]
jmp 0x416cb6
mov edi, dword [ebp - 0x48]
cld
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, dword [0x49a9c0]
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
lea ecx, [eax + ecx + 0x21]
cmp ecx, dword [0x49edf0]
jle 0x416ce4
mov dword [esp + 4], 0x280
mov dword [esp], 0x416198
call fcn.00415e00
cmp dword [ebp - 0x4c], 0
je 0x416e1b
mov eax, dword [ebp - 0x4c]
mov byte [eax], 0x2f
inc dword [ebp - 0x44]
jmp 0x416e1b
mov edi, dword [ebp - 0x48]
cld
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov edi, ecx
dec edi
je 0x416dd7
mov ebx, edi
cmp edi, 0xf8
jle 0x416d0b
mov ebx, 0xf8
mov dword [ebp - 0x34], 0
mov edx, dword [0x49a9c0]
mov dword [ebp - 0x7c], edx
add edx, ebx
mov esi, dword [0x49a9b0]
mov ecx, dword [0x49a9a0]
mov eax, ecx
sub eax, esi
lea edx, [eax + edx + 0x1e]
cmp edx, dword [0x49edf0]
jle 0x416d51
mov eax, dword [0x49edf0]
sub eax, dword [ebp - 0x7c]
sub esi, ecx
mov dword [ebp - 0x5c], esi
lea ebx, [esi + eax - 0x1e]
mov dword [ebp - 0x34], 1
mov eax, dword [0x49a9a0]
cmp ebx, edi
setne byte [eax + 0x49a9e0]
mov byte [eax + 0x49a9e1], bl
add eax, 2
mov dword [0x49a9a0], eax
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], edx
add eax, 0x49a9e0
mov dword [esp], eax
call sub.cygwin1.dll_strncpy
add dword [0x49a9a0], ebx
mov eax, dword [ebp - 0x40]
lea eax, [ebx + eax + 2]
mov dword [ebp - 0x40], eax
add dword [ebp - 0x48], ebx
sub dword [ebp - 0x44], ebx
sub edi, ebx
cmp dword [ebp - 0x34], 0
je 0x416dcf
mov dword [esp + 4], 0x2ae
mov dword [esp], 0x41619d
call fcn.00415e00
cmp dword [ebp - 0x4c], 0
je 0x416e1b
mov edx, dword [ebp - 0x4c]
mov byte [edx], 0x2f
inc dword [ebp - 0x44]
mov dword [ebp - 0x4c], 0
jmp 0x416dd7
test edi, edi
jne 0x416cfc
cmp dword [ebp - 0x4c], 0
je 0x416e1b
mov eax, dword [ebp - 0x4c]
mov byte [eax], 0x2f
cmp eax, 0x49e9e0
jbe 0x416dfd
cmp dword [ebp - 0x50], 0
jne 0x416dfd
cmp byte [eax + 1], 0
jne 0x416dfd
mov dword [ebp - 0x50], 1
mov edx, dword [ebp - 0x4c]
inc edx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 1], 0
jne 0x416ae0
cmp dword [ebp - 0x50], 0
jne 0x416ae0
movzx edx, byte [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x49a9e0], dl
cmp dword [ebp - 0x44], 0
je 0x416e3a
mov byte [eax + 0x49a9e2], 1
jmp 0x416a61
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
cmp dword [0x45a1dc], 0
je 0x416e59
add eax, dword [0x49a9c0]
add eax, 0x54
jmp 0x416e62
add eax, dword [0x49a9c0]
add eax, 0x36
cmp eax, dword [0x49edf0]
jle 0x416e7e
mov dword [esp + 4], 0x2d3
mov dword [esp], 0x4161ab
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x54
mov byte [eax + 0x49a9e1], 0x46
lea edx, [eax + 2]
add eax, 3
mov dword [0x49a9a0], eax
cmp dword [0x45a1dc], 0
je 0x416ea9
mov al, 0x38
jmp 0x416eab
mov al, 0x1a
mov byte [edx + 0x49a9e0], al
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 1
lea edx, [eax + 1]
add eax, 2
mov dword [0x49a9a0], eax
cmp dword [0x45a1dc], 0
je 0x416ed5
mov al, 0x8e
jmp 0x416ed7
mov al, 0xe
mov byte [edx + 0x49a9e0], al
or dword [ebp - 0x30], 0x80
cmp dword [0x45a1dc], 0
je 0x416f91
mov dword [esp + 0xc], 0xffffff9c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 4], eax
mov eax, dword [0x49a9a0]
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00406894
mov ecx, dword [0x49a9a0]
add ecx, 0x11
mov dword [0x49a9a0], ecx
mov dword [esp + 0xc], 0xffffff9c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x34]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 4], eax
lea eax, [ecx + 0x49a9e0]
mov dword [esp], eax
call fcn.00406894
mov ecx, dword [0x49a9a0]
add ecx, 0x11
mov dword [0x49a9a0], ecx
mov dword [esp + 0xc], 0xffffff9c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x44]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 4], eax
lea eax, [ecx + 0x49a9e0]
mov dword [esp], eax
call fcn.00406894
add dword [0x49a9a0], 0x11
jmp 0x416ffc
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x38]
mov dword [esp + 4], eax
mov eax, dword [0x49a9a0]
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.0040674a
mov eax, dword [0x49a9a0]
add eax, 7
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x30]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.0040674a
mov eax, dword [0x49a9a0]
add eax, 7
mov dword [0x49a9a0], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x40]
mov dword [esp + 4], ecx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.0040674a
add dword [0x49a9a0], 7
test byte [ebp + 0x1c], 1
je 0x41705f
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x20
cmp eax, dword [0x49edf0]
jle 0x417032
mov dword [esp + 4], 0x301
mov dword [esp], 0x4161ae
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x52
mov byte [eax + 0x49a9e1], 0x45
mov byte [eax + 0x49a9e2], 4
mov byte [eax + 0x49a9e3], 1
add eax, 4
mov dword [0x49a9a0], eax
or dword [ebp - 0x30], 0x40
test byte [ebp + 0x1c], 2
je 0x4170de
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x28
cmp eax, dword [0x49edf0]
jle 0x417095
mov dword [esp + 4], 0x30b
mov dword [esp], 0x4161b1
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x50
mov byte [eax + 0x49a9e1], 0x4c
mov byte [eax + 0x49a9e2], 0xc
mov byte [eax + 0x49a9e3], 1
add eax, 4
mov dword [0x49a9a0], eax
mov dword [esp + 4], 0
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
add dword [0x49a9a0], 8
or dword [ebp - 0x30], 0x20
test byte [ebp + 0x1c], 4
je 0x41715d
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x28
cmp eax, dword [0x49edf0]
jle 0x417114
mov dword [esp + 4], 0x318
mov dword [esp], 0x4161b4
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x43
mov byte [eax + 0x49a9e1], 0x4c
mov byte [eax + 0x49a9e2], 0xc
mov byte [eax + 0x49a9e3], 1
add eax, 4
mov dword [0x49a9a0], eax
mov dword [esp + 4], 0
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
add dword [0x49a9a0], 8
or dword [ebp - 0x30], 0x10
cmp dword [0x45a13c], 0
je 0x4172d2
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0xf000
cmp eax, 0x8000
jne 0x4172d2
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 1
lea edi, [ebp - 0x28]
cld
mov ecx, 4
mov eax, 0
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x4161b7
mov edx, dword [ebp + 8]
mov dword [esp], edx
call sub.cygwin1.dll__fopen64
mov ebx, eax
test eax, eax
je 0x417225
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sub.cygwin1.dll_fread
cmp eax, 0x10
setne al
movzx eax, al
dec eax
and dword [ebp - 0x64], eax
lea esi, [ebp - 0x28]
mov edi, 0x4160aa
mov ecx, 8
cld
repe cmpsb byte [esi], byte es:[edi]
seta cl
setb al
cmp cl, al
setne al
movzx eax, al
dec eax
and dword [ebp - 0x64], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.004247f5
mov dword [ebp - 0x60], eax
movzx edi, byte [ebp - 0x1c]
movzx esi, byte [ebp - 0x1b]
mov dword [esp], ebx
call sub.cygwin1.dll_fclose
jmp 0x417236
mov dword [ebp - 0x64], 0
mov edi, 0
mov esi, 0
cmp dword [ebp - 0x64], 0
je 0x4172d2
mov eax, dword [0x49a9a0]
sub eax, dword [0x49a9b0]
add eax, dword [0x49a9c0]
add eax, 0x2c
cmp eax, dword [0x49edf0]
jle 0x417270
mov dword [esp + 4], 0x35a
mov dword [esp], 0x4161ba
call fcn.00415e00
mov eax, dword [0x49a9a0]
mov byte [eax + 0x49a9e0], 0x5a
mov byte [eax + 0x49a9e1], 0x46
mov byte [eax + 0x49a9e2], 0x10
mov byte [eax + 0x49a9e3], 1
mov byte [eax + 0x49a9e4], 0x70
mov byte [eax + 0x49a9e5], 0x7a
mov edx, edi
mov byte [eax + 0x49a9e6], dl
mov edx, esi
mov byte [eax + 0x49a9e7], dl
add eax, 8
mov dword [0x49a9a0], eax
mov edx, dword [ebp - 0x60]
mov dword [esp + 4], edx
add eax, 0x49a9e0
mov dword [esp], eax
call fcn.00424792
add dword [0x49a9a0], 8
test byte [ebp + 0x1c], 8
je 0x4172ec
mov dword [esp + 4], 0x36e
mov dword [esp], 0x4161bd
call fcn.00415e00
movzx eax, byte [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x49a9e0], al
cmp dword [0x49a9b0], 0
je 0x417321
mov ecx, dword [0x49a9b0]
mov eax, dword [0x49a9a0]
sub eax, ecx
mov dword [esp + 4], eax
lea eax, [ecx + 0x49a9d8]
mov dword [esp], eax
call fcn.00424792
mov eax, dword [0x49a9a0]
mov dword [esp], eax
call fcn.0040b0aa
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x164], eax
mov eax, dword [0x49a9a0]
mov dword [edx + 0x16c], eax
cmp dword [0x49a9d0], 0
jne 0x417352
mov eax, dword [0x49a9a0]
jmp 0x417357
mov eax, dword [0x49a9d0]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x168], eax
mov ecx, dword [edx + 0x164]
mov eax, dword [0x49a9a0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x49a9e0
mov dword [esp], ecx
call sub.cygwin1.dll_memcpy
mov eax, dword [0x49a9a0]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret