Function at 0x415450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
mov esi, edx
sub esp, 0x4c
cmp word [0x480954], 1
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov edi, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
jle 0x4154e6
test byte [edi + 8], 0x40
mov edx, dword [eax + 0xc]
mov ebx, 0x4559c8
mov eax, 0x455b1b
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp + 0x30], edx
cmove ebx, eax
call fcn.004151e0
mov edi, eax
call fcn.00409f30
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 4], str.__s__add_rule__s_.s_s__s_n
mov dword [esp], 2
call fcn.00420340
mov eax, dword [esp + 0x2c]
and eax, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 8]
je 0x41551b
mov edx, edi
and edx, 0x30000
cmp dword [0x47d968], 1
sbb eax, eax
xor ax, ax
add eax, 0x20000
cmp edx, eax
je 0x4159c9
cmp ebp, 1
jbe 0x41552f
lea eax, [ebp - 1]
lea edx, [esi + eax]
cmp byte [edx], 0x2f
je 0x415920
lea edx, [esi + ebp]
cmp esi, edx
jae 0x415977
mov eax, esi
xor ebx, ebx
nop
xor ecx, ecx
cmp byte [eax], 0x2f
sete cl
add eax, 1
add ebx, ecx
cmp eax, edx
jne 0x415540
test edi, 0x410
jne 0x415584
mov eax, dword [esp + 0x30]
test eax, eax
je 0x415566
cmp byte [esi], 0x2f
je 0x415571
test ebx, ebx
je 0x415584
test byte [esp + 0x2c], 8
je 0x415584
mov eax, dword [esp + 0x28]
or edi, 0x10
mov dword [eax + 8], edi
cmp byte [esi], 0x2f
je 0x4159b4
xor ecx, ecx
xor edi, edi
test byte [esp + 0x2c], 0x10
jne 0x415760
lea eax, [ecx + ebp]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
add eax, edi
mov dword [esp + 0x34], eax
add eax, 1
mov dword [esp], eax
call fcn.0041a790
mov edx, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], eax
je 0x4159e6
test ecx, ecx
jne 0x4158a0
add ebp, 1
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ebp
call sub.cygwin1.dll_strlcpy
mov eax, dword [esp + 0x28]
test edi, edi
mov eax, dword [eax + 4]
jne 0x415860
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x455b81
mov dword [esp], eax
call sub.cygwin1.dll_strpbrk
test eax, eax
je 0x415931
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 8]
mov esi, edi
or esi, 1
mov dword [ebp + 8], esi
mov dword [esp + 4], 0x455b85
mov dword [esp], eax
call sub.cygwin1.dll_strstr
test eax, eax
je 0x41566f
mov esi, edi
or esi, 3
cmp dword [esp + 0x30], eax
mov dword [ebp + 8], esi
je 0x415950
cmp dword [esp + 0x38], 2
jbe 0x41566f
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
cmp byte [eax + edi - 3], 0x2a
je 0x4158f6
and esi, 0x800
je 0x415730
mov esi, dword [esp + 0x30]
mov dword [esp + 4], 0x2f
mov dword [esp], esi
call sub.cygwin1.dll_strrchr
mov edi, dword [0x47b3c4]
lea edx, [eax + 1]
test eax, eax
cmove edx, esi
test edi, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], edi
jle 0x415790
sub esi, edx
mov ebp, dword [0x47b3c8]
add esi, dword [esp + 0x38]
xor edi, edi
jmp 0x4156cd
add edi, 1
cmp edi, dword [esp + 0x2c]
je 0x415790
mov eax, dword [ebp + edi*4]
mov ebx, dword [eax + 4]
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.cygwin1.dll_strrchr
lea ecx, [eax + 1]
test eax, eax
cmovne ebx, ecx
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
cmp eax, esi
jne 0x4156c0
mov eax, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_memcmp
test eax, eax
jne 0x4156c0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0044e534
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0044e534
mov eax, dword [esp + 0x28]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
test eax, eax
je 0x415961
mov edx, dword [eax]
mov esi, dword [esp + 0x28]
mov dword [esi], edx
mov dword [eax], esi
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov edx, eax
and edx, 0x60
cmp edx, 0x40
jne 0x415593
mov edi, dword [esp + 0x28]
and eax, 0xffffffbf
mov dword [edi + 8], eax
mov edi, 4
jmp 0x415593
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], 1
call fcn.0041a790
test eax, eax
mov ebx, eax
je 0x4159e6
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.__per_dir__s_
mov dword [esp + 8], eax
lea eax, [ebx + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_asprintf
test eax, eax
js 0x4159e6
mov esi, dword [0x47b3c4]
cmp esi, dword [0x47b3c0]
mov eax, dword [esp + 0x28]
mov dword [eax + 0xc], ebx
je 0x41597e
cmp word [0x480954], 1
jle 0x41583e
mov ebx, dword [ebx + 0xc]
call fcn.00409f30
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 4], str.__s__activating_mergelist__d_s_n
mov dword [esp], 2
call fcn.00420340
mov esi, dword [0x47b3c4]
lea eax, [esi + 1]
mov edi, dword [esp + 0x28]
mov dword [0x47b3c4], eax
mov eax, dword [0x47b3c8]
mov dword [eax + esi*4], edi
jmp 0x415737
mov esi, dword [esp + 0x38]
lea edx, [edi + 1]
add esi, eax
xor eax, eax
movzx ecx, byte [eax + str._]
mov byte [esi + eax], cl
add eax, 1
cmp eax, edx
jb 0x41586b
mov eax, dword [esp + 0x28]
add ebx, 1
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
jmp 0x415600
mov edx, dword [0x47e200]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
add edx, 0x47b400
mov dword [esp + 4], edx
call sub.cygwin1.dll_memcpy
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 4]
lea edx, [eax + ecx]
cmp eax, edx
jae 0x4159df
lea esi, [esi]
lea edi, [edi]
xor ecx, ecx
cmp byte [eax], 0x2f
sete cl
add eax, 1
add ebx, ecx
cmp eax, edx
jne 0x4158e0
jmp 0x4155da
cmp byte [eax + edi - 2], 0x2a
jne 0x41566f
cmp byte [eax + edi - 1], 0x2a
jne 0x41566f
mov eax, dword [esp + 0x28]
or esi, 8
mov dword [eax + 8], esi
jmp 0x41566f
mov ecx, dword [esp + 0x28]
or edi, 0x40
mov ebp, eax
mov dword [ecx + 8], edi
jmp 0x415532
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
and esi, 0x800
je 0x415730
jmp 0x41567b
mov eax, dword [esp + 0x28]
or edi, 7
mov esi, edi
mov dword [eax + 8], edi
jmp 0x415655
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [ecx], eax
mov dword [edi + 4], ecx
mov dword [edi], ecx
jmp 0x415757
xor ebx, ebx
jmp 0x415551
mov eax, dword [0x47b3c8]
add esi, 5
mov dword [esp + 4], 4
mov dword [esp + 8], esi
mov dword [0x47b3c0], esi
mov dword [esp], eax
call fcn.0041a7e0
test eax, eax
mov dword [0x47b3c8], eax
je 0x4159e6
mov esi, dword [0x47b3c4]
jmp 0x415806
mov eax, dword [0x47b3d4]
lea edx, [eax - 1]
sub edx, dword [0x47e200]
mov ecx, edx
jmp 0x415586
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.0044e534
mov eax, edi
jmp 0x415720
mov eax, edx
jmp 0x4155da
mov dword [esp], str.add_rule
call fcn.0041a8d0
lea esi, [esi]
lea edi, [edi]